diff options
author | ache <ache@FreeBSD.org> | 1997-02-07 14:11:08 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-02-07 14:11:08 +0000 |
commit | f4d98f834d98323425635d7f9689516a875a5778 (patch) | |
tree | 592663b8f2f86f8d37ba4154d9dbaa82b1025920 /ftp/wu-ftpd+ipv6 | |
parent | 80cb3e0c2764d25c8ac4a4238e6ffe38b6065307 (diff) | |
download | FreeBSD-ports-f4d98f834d98323425635d7f9689516a875a5778.zip FreeBSD-ports-f4d98f834d98323425635d7f9689516a875a5778.tar.gz |
Build ftpd dynamic, if variable PACKAGE_BUILDING is defined
Diffstat (limited to 'ftp/wu-ftpd+ipv6')
-rw-r--r-- | ftp/wu-ftpd+ipv6/files/patch-am | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/ftp/wu-ftpd+ipv6/files/patch-am b/ftp/wu-ftpd+ipv6/files/patch-am index 3d04b64..63dc0e3 100644 --- a/ftp/wu-ftpd+ipv6/files/patch-am +++ b/ftp/wu-ftpd+ipv6/files/patch-am @@ -1,5 +1,5 @@ *** src/makefiles/Makefile.fbs.orig Thu Jan 16 11:27:58 1997 ---- src/makefiles/Makefile.fbs Wed Feb 5 14:18:13 1997 +--- src/makefiles/Makefile.fbs Fri Feb 7 17:04:42 1997 *************** *** 1,8 **** CC = cc @@ -44,18 +44,15 @@ *************** *** 24,30 **** +--- 24,34 ---- ${CC} ${CFLAGS} -o $@ ftpshut.c vers.o ${LIBES} ftpd: ${OBJS} ${LIBC} -! ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBES} - - ckconfig: ckconfig.c - ${CC} ${CFLAGS} -o $@ ckconfig.c ---- 24,30 ---- - ${CC} ${CFLAGS} -o $@ ftpshut.c vers.o ${LIBES} - - ftpd: ${OBJS} ${LIBC} -! ${CC} -static ${CFLAGS} -o $@ ${OBJS} ${LIBES} ++ .if defined(PACKAGE_BUILDING) + ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBES} ++ .else ++ ${CC} -static ${CFLAGS} -o $@ ${OBJS} ${LIBES} ++ .endif ckconfig: ckconfig.c ${CC} ${CFLAGS} -o $@ ckconfig.c |