aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-02-07 22:11:08 +0800
committerache <ache@FreeBSD.org>1997-02-07 22:11:08 +0800
commitf4d98f834d98323425635d7f9689516a875a5778 (patch)
tree592663b8f2f86f8d37ba4154d9dbaa82b1025920
parent80cb3e0c2764d25c8ac4a4238e6ffe38b6065307 (diff)
downloadfreebsd-ports-gnome-f4d98f834d98323425635d7f9689516a875a5778.tar.gz
freebsd-ports-gnome-f4d98f834d98323425635d7f9689516a875a5778.tar.zst
freebsd-ports-gnome-f4d98f834d98323425635d7f9689516a875a5778.zip
Build ftpd dynamic, if variable PACKAGE_BUILDING is defined
-rw-r--r--ftp/wu-ftpd+ipv6/files/patch-am17
-rw-r--r--ftp/wu-ftpd/files/patch-am17
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 3d04b641cb60..63dc0e35c31d 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 3d04b641cb60..63dc0e35c31d 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