aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-02-07 14:11:08 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-02-07 14:11:08 +0000
commit108ebe4d7433efc873d18219d85212295a8be0a0 (patch)
tree175018da161948af399ca77be06629b342f8070e /ftp
parentc4917c6dc867d75806000ef7f25290e03bd1f633 (diff)
downloadports-108ebe4d7433efc873d18219d85212295a8be0a0.tar.gz
ports-108ebe4d7433efc873d18219d85212295a8be0a0.zip
Build ftpd dynamic, if variable PACKAGE_BUILDING is defined
Notes
Notes: svn path=/head/; revision=5556
Diffstat (limited to 'ftp')
-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