summaryrefslogtreecommitdiffstats
path: root/ftp/proftpd-devel/Makefile
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2004-03-26 20:17:38 +0000
committermharo <mharo@FreeBSD.org>2004-03-26 20:17:38 +0000
commit3997802526e60936d673391be0354fec779a794b (patch)
tree7c804e1cd7aae1da0bdd1fa8242a367c5d816df8 /ftp/proftpd-devel/Makefile
parentbdf4b6b4dc384e370220f0af624f40fb9c5a83ff (diff)
downloadFreeBSD-ports-3997802526e60936d673391be0354fec779a794b.zip
FreeBSD-ports-3997802526e60936d673391be0354fec779a794b.tar.gz
Add build knob WITH_IPV6 to enable IPV6 support. Note that when
IPv6 is enabled IPv4 is not listened to by default. You need to update proftpd.conf if you want to support both. Also, remove a substitution that was incorrectly 'fixing' the manpage.
Diffstat (limited to 'ftp/proftpd-devel/Makefile')
-rw-r--r--ftp/proftpd-devel/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index 71b0d0c..a06f006 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= proftpd
PORTVERSION= 1.2.9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.net/distrib/source/ \
ftp://ftp.stikman.com/pub/proftpd/ \
@@ -64,6 +64,10 @@ CONFIGURE_ARGS+= --enable-force-setpassent
CONFIGURE_ARGS+= --disable-pam
.endif
+.if defined(WITH_IPV6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
#allow user to override
MODULES?= mod_ratio:mod_readme:mod_wrap
@@ -122,8 +126,7 @@ post-configure:
< ${WRKSRC}/Make.rules.pre_sed > ${WRKSRC}/Make.rules
@${MV} ${WRKSRC}/src/proftpd.8 ${WRKSRC}/src/proftpd.8.pre_sed
- @${SED} -e 's:/etc:${PREFIX}/etc:' \
- -e 's:/usr/sbin/proftpd:${PREFIX}/libexec/proftpd:' \
+ @${SED} -e 's:/usr/sbin/proftpd:${PREFIX}/libexec/proftpd:' \
-e 's:/usr/sbin:${PREFIX}/sbin:' \
-e 's:/usr/bin:${PREFIX}/bin:' \
< ${WRKSRC}/src/proftpd.8.pre_sed > ${WRKSRC}/src/proftpd.8
OpenPOWER on IntegriCloud