summaryrefslogtreecommitdiff
path: root/ftp/vsftpd/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-11-03 05:47:22 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-11-03 05:47:22 +0000
commit4f98b57ad15b51c69f04ff0055f02799c341b04c (patch)
treef03cb17fdbe43cd6323bd9233161de23af6a8a3d /ftp/vsftpd/Makefile
parent* Fix a typo in the MLINKS documentation (diff)
- remove BROKEN
- add USE_PERL5 - honor CFLAGS - whitespace fixes
Notes
Notes: svn path=/head/; revision=69321
Diffstat (limited to 'ftp/vsftpd/Makefile')
-rw-r--r--ftp/vsftpd/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile
index 5a1e0701088d..053962680174 100644
--- a/ftp/vsftpd/Makefile
+++ b/ftp/vsftpd/Makefile
@@ -12,6 +12,7 @@ MASTER_SITES= ftp://vsftpd.beasts.org/users/cevans/
MAINTAINER= dinoex@FreeBSD.org
+USE_PERL5= yes
ALL_TARGET= vsftpd
MAN5= vsftpd.conf.5
@@ -20,14 +21,13 @@ MAN8= vsftpd.8
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500035
-BROKEN= "Does not compile on 5.0"
-.endif
-
post-patch:
@${MV} ${WRKSRC}/defs.h ${WRKSRC}/defs.h.sed
${SED} -e "s=/etc/vsftpd.conf=${PREFIX}/etc/vsftpd.conf=" \
- ${WRKSRC}/defs.h.sed > ${WRKSRC}/defs.h
+ ${WRKSRC}/defs.h.sed > ${WRKSRC}/defs.h
+ @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.sed
+ ${SED} -e "s/^CFLAGS =/CFLAGS +=/" \
+ ${WRKSRC}/Makefile.sed > ${WRKSRC}/Makefile
@${ECHO_CMD} "secure_chroot_dir=${PREFIX}/share/vsftpd/empty" >> \
${WRKSRC}/vsftpd.conf