aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/p5-Net-FTPServer
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2012-03-14 00:15:36 +0800
committerpgollucci <pgollucci@FreeBSD.org>2012-03-14 00:15:36 +0800
commitf42856eba9fb3ca5404f63c69672a520d85efc2d (patch)
tree8244b1263e2d907c44d922bb1d05d258b43d1809 /ftp/p5-Net-FTPServer
parentc779f342d2b34e828d96953ef0a0ce32861128c1 (diff)
downloadfreebsd-ports-gnome-f42856eba9fb3ca5404f63c69672a520d85efc2d.tar.gz
freebsd-ports-gnome-f42856eba9fb3ca5404f63c69672a520d85efc2d.tar.zst
freebsd-ports-gnome-f42856eba9fb3ca5404f63c69672a520d85efc2d.zip
- Revert ports/165605 as requested by portmgr@
Note: devel/p5-B-Size and devel/p5-Devel-Arena where intentionally not restored. PR: ports/165605 Approved by: portmgr (bapt) Feature safe: yes (I sure hope so)
Diffstat (limited to 'ftp/p5-Net-FTPServer')
-rw-r--r--ftp/p5-Net-FTPServer/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/ftp/p5-Net-FTPServer/Makefile b/ftp/p5-Net-FTPServer/Makefile
index 6c1480cc6982..9d564d795bd3 100644
--- a/ftp/p5-Net-FTPServer/Makefile
+++ b/ftp/p5-Net-FTPServer/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
p5-File-Sync>=0:${PORTSDIR}/devel/p5-File-Sync \
p5-IO-stringy>=1.126:${PORTSDIR}/devel/p5-IO-stringy
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
MAKE_ENV+= NOCONF=1
PERL_CONFIGURE= yes
@@ -55,6 +55,12 @@ DOCS= FAQ README TODO doc/*
PORTDOCS= *
PORTEXAMPLES= ftpd.conf
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s/root,root/root,wheel/" \
-e "s,/usr/sbin,${PREFIX}/sbin," \
@@ -75,4 +81,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>