From 108ebe4d7433efc873d18219d85212295a8be0a0 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Fri, 7 Feb 1997 14:11:08 +0000 Subject: Build ftpd dynamic, if variable PACKAGE_BUILDING is defined --- ftp/wu-ftpd+ipv6/files/patch-am | 17 +++++++---------- ftp/wu-ftpd/files/patch-am | 17 +++++++---------- 2 files changed, 14 insertions(+), 20 deletions(-) (limited to 'ftp') 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 -- cgit v1.2.3