aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/p5-MogileFS-Utils
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 /sysutils/p5-MogileFS-Utils
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 'sysutils/p5-MogileFS-Utils')
-rw-r--r--sysutils/p5-MogileFS-Utils/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/sysutils/p5-MogileFS-Utils/Makefile b/sysutils/p5-MogileFS-Utils/Makefile
index 19709acbbd50..48b3b1fe58b4 100644
--- a/sysutils/p5-MogileFS-Utils/Makefile
+++ b/sysutils/p5-MogileFS-Utils/Makefile
@@ -17,7 +17,8 @@ COMMENT= MogileFS tools
BUILD_DEPENDS= p5-MogileFS-Client>=1.14:${PORTSDIR}/sysutils/p5-MogileFS-Client \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-MogileFS-Client>=1.14:${PORTSDIR}/sysutils/p5-MogileFS-Client \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
PERL_CONFIGURE= yes
@@ -34,7 +35,13 @@ MAN1= mogadm.1 \
mogupload.1
MAN3= MogileFS::Utils.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/NAME/ s|MogileFS-Utils|MogileFS::Utils|' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>