commit - bce5dac1a3d52e5b3dc81458ca9b3a7d740180cb
commit + 43d8c06e246c7e73277ba8935ca9e9b10735e9ad
blob - 13f04a9e897037ffca1371e95db65f0755fb7a36
blob + c51458d0db217145fd9356f10661dd17f09fba30
--- Makefile.inc
+++ Makefile.inc
.endif
.if "${MAKEWEB}" == "Yes"
-LDADD = -L${PREFIX}/lib -static -lkcgihtml -lkcgi -lz -lutil
+LDADD += -L${PREFIX}/lib -lz -lutil
+LDSTATIC = ${STATIC}
PREFIX = /usr/local
CHROOT_DIR = /var/www
GOTWEB_DIR = /cgi-bin/gotweb
blob - 4f2ae4e195ade91c8aff6f94cd3d4d5745e7a979
blob + a738cb34bf84d8765f958cdfd2d9aad480f28261
--- gotweb/Makefile
+++ gotweb/Makefile
CPPFLAGS += -I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR} \
-I${PREFIX}/include
-LDADD += -L${PREFIX}/lib -static -lkcgihtml -lkcgi -lz -lutil
+LDADD = -L${PREFIX}/lib -lkcgihtml -lkcgi -lz -lutil
+LDSTATIC = ${STATIC}
.if ${GOT_RELEASE} != "Yes"
NOMAN = Yes