aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-05-25 21:28:53 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-05-25 21:28:53 +0000
commitab1bead9df9f4e62dc0e9d8c4ae35f389e4e286c (patch)
treef40a1c683ec62845d68fbaa12b19366df677c4c4 /ftp
parentc2073ad18c3c95259a097273cff2de0ac7cf6e7e (diff)
downloadports-ab1bead9df9f4e62dc0e9d8c4ae35f389e4e286c.tar.gz
ports-ab1bead9df9f4e62dc0e9d8c4ae35f389e4e286c.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/bftpd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile
index 901a1ac554bd..365da8bbd948 100644
--- a/ftp/bftpd/Makefile
+++ b/ftp/bftpd/Makefile
@@ -24,6 +24,12 @@ PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample
MAN8= bftpd.8
PORTDOCS= en pl sk
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 900000
+BROKEN= does not compile on FreeBSD 7.x and 8.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
${WRKSRC}/mypaths.h
@@ -38,4 +44,4 @@ do-install:
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>