1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/ftp/wu-ftpd+ipv6/files/patch-am
1997-12-24 17:45:48 +00:00

34 lines
902 B
Plaintext

*** src/makefiles/Makefile.fbs.orig Sun Dec 21 07:04:49 1997
--- src/makefiles/Makefile.fbs Wed Dec 24 20:26:01 1997
***************
*** 4,10 ****
#CC = cc
IFLAGS = -I.. -I../support
LFLAGS = -L../support -s
! CFLAGS = -O ${IFLAGS} ${LFLAGS}
LIBES = -lsupport -lutil -lskey -lmd -lcrypt
LIBC = /usr/lib/libc.a
LINTFLAGS=
--- 4,10 ----
#CC = cc
IFLAGS = -I.. -I../support
LFLAGS = -L../support -s
! CFLAGS += ${IFLAGS} ${LFLAGS}
LIBES = -lsupport -lutil -lskey -lmd -lcrypt
LIBC = /usr/lib/libc.a
LINTFLAGS=
***************
*** 27,33 ****
--- 27,37 ----
${CC} ${CFLAGS} -o $@ ftpshut.c vers.o ${LIBES}
ftpd: ${OBJS} ${LIBC}
+ .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