diff options
author | obrien <obrien@FreeBSD.org> | 2002-04-08 21:22:58 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-04-08 21:22:58 +0000 |
commit | 986e4bd208ab15b6add97de50ba4fe63fc2355d0 (patch) | |
tree | b93e5cb0cdc1fcda4f3e3f8d38b4559724f995ca /libexec/lukemftpd | |
parent | bf7d877bcdce40175605f98c233267a53b21a6d5 (diff) | |
download | FreeBSD-src-986e4bd208ab15b6add97de50ba4fe63fc2355d0.zip FreeBSD-src-986e4bd208ab15b6add97de50ba4fe63fc2355d0.tar.gz |
Allow to compile with both GCC 2.95 and 3.1.
Diffstat (limited to 'libexec/lukemftpd')
-rw-r--r-- | libexec/lukemftpd/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/lukemftpd/Makefile b/libexec/lukemftpd/Makefile index a96916d..b3bfda5 100644 --- a/libexec/lukemftpd/Makefile +++ b/libexec/lukemftpd/Makefile @@ -11,7 +11,7 @@ MAN= lukemftpd.8 ftpd.conf.5 ftpusers.5 SRCS= cmds.c conf.c ftpd.c ftpcmd.y popen.c WFORMAT= 0 -CFLAGS+= -I${.CURDIR} -I${LUKEMFTPD} #-I${LUKEMFTPD}/src +CFLAGS+= -I${.CURDIR} -I${LUKEMFTPD} -I${LUKEMFTPD}/src YFLAGS= LDADD= -lmd -lcrypt -lutil @@ -30,7 +30,8 @@ LDADD+= -lm CLEANFILES+= ls-unmain.c ls-unmain.c: ls.c - sed -e 's/^main(/ls_main(/g' ${.ALLSRC} > ${.TARGET} + sed -e 's/^main(/ls_main(/g' -e 's,extern.h,${LSDIR}/extern.h,' \ + ${.ALLSRC} > ${.TARGET} .if !defined(NOPAM) CFLAGS+= -DUSE_PAM |