1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/ftp/wu-ftpd/files/patch-am
1997-04-27 21:48:55 +00:00

36 lines
963 B
Plaintext

*** src/makefiles/Makefile.fbs.orig Mon Mar 3 12:34:52 1997
--- src/makefiles/Makefile.fbs Mon Apr 28 00:43:47 1997
***************
*** 1,8 ****
CC = cc
IFLAGS = -I.. -I../support
LFLAGS = -L../support -s
! CFLAGS = -O ${IFLAGS} ${LFLAGS}
! LIBES = -lsupport -lutil -lcrypt
LIBC = /usr/lib/libc.a
LINTFLAGS=
LKERB = -lauth -lckrb -lkrb -ldes
--- 1,8 ----
CC = cc
IFLAGS = -I.. -I../support
LFLAGS = -L../support -s
! CFLAGS += ${IFLAGS} ${LFLAGS}
! LIBES = -lsupport -lutil -lcrypt -lskey -lmd
LIBC = /usr/lib/libc.a
LINTFLAGS=
LKERB = -lauth -lckrb -lkrb -ldes
***************
*** 24,30 ****
--- 24,34 ----
${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