freebsd-ports/ftp/wu-ftpd/files/patch-an
Andrey A. Chernov 1a8eb4b4c1 upgrade to 2.6.0
Submitted by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
1999-10-24 01:57:37 +00:00

15 lines
518 B
Plaintext

--- src/makefiles/common.orig Sun Oct 3 21:51:35 1999
+++ src/makefiles/common Wed Oct 20 20:35:25 1999
@@ -48,7 +48,11 @@
${CC} ${LFLAGS} -o $@ ${UTIL_OBJS} ftprestart.o rdservers.o ${XLIBS}
ftpd: ${OBJS} ${XOBJS} ../support/libsupport.a
+.if defined(PACKAGE_BUILDING)
${CC} ${LFLAGS} -o $@ ${OBJS} ${XOBJS} ${XLIBS}
+.else
+ ${CC} -static ${LFLAGS} -o $@ ${OBJS} ${XOBJS} ${XLIBS}
+.endif
ckconfig: ${UTIL_OBJS} ckconfig.o rdservers.o
${CC} ${LFLAGS} -o $@ ${UTIL_OBJS} ckconfig.o rdservers.o ${XLIBS}