diff options
Diffstat (limited to 'libexec/lukemftpd/Makefile')
-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 |