diff options
author | ache <ache@FreeBSD.org> | 1997-02-07 22:11:08 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-02-07 22:11:08 +0800 |
commit | f4d98f834d98323425635d7f9689516a875a5778 (patch) | |
tree | 592663b8f2f86f8d37ba4154d9dbaa82b1025920 /ftp | |
parent | 80cb3e0c2764d25c8ac4a4238e6ffe38b6065307 (diff) | |
download | freebsd-ports-graphics-f4d98f834d98323425635d7f9689516a875a5778.tar.gz freebsd-ports-graphics-f4d98f834d98323425635d7f9689516a875a5778.tar.zst freebsd-ports-graphics-f4d98f834d98323425635d7f9689516a875a5778.zip |
Build ftpd dynamic, if variable PACKAGE_BUILDING is defined
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/wu-ftpd+ipv6/files/patch-am | 17 | ||||
-rw-r--r-- | ftp/wu-ftpd/files/patch-am | 17 |
2 files changed, 14 insertions, 20 deletions
diff --git a/ftp/wu-ftpd+ipv6/files/patch-am b/ftp/wu-ftpd+ipv6/files/patch-am index 3d04b641cb6..63dc0e35c31 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 diff --git a/ftp/wu-ftpd/files/patch-am b/ftp/wu-ftpd/files/patch-am index 3d04b641cb6..63dc0e35c31 100644 --- a/ftp/wu-ftpd/files/patch-am +++ b/ftp/wu-ftpd/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 |