aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2011-01-08 11:04:21 +0000
committerAndrej Zverev <az@FreeBSD.org>2011-01-08 11:04:21 +0000
commit98f6bc7925d627d080821e51da6cf7bf8481a714 (patch)
tree31ec8f9b32af452039bd055ba4776105f49d0ff2 /devel
parent25c96959002ccb31cf14fa3a427f47c521ac07d0 (diff)
downloadports-98f6bc7925d627d080821e51da6cf7bf8481a714.tar.gz
ports-98f6bc7925d627d080821e51da6cf7bf8481a714.zip
- Put workaround with missed dep IPC::Cmd which exists in coremodules at
perl5.10 but not in 5.8. PR: ports/153782 Submitted by: Phil Pennock <phil.pennock@globnix.org>
Notes
Notes: svn path=/head/; revision=267510
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-ExtUtils-CBuilder/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/p5-ExtUtils-CBuilder/Makefile b/devel/p5-ExtUtils-CBuilder/Makefile
index d8d9fde2453b..04403f62d322 100644
--- a/devel/p5-ExtUtils-CBuilder/Makefile
+++ b/devel/p5-ExtUtils-CBuilder/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ExtUtils-CBuilder
PORTVERSION= 0.2802
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN/../../authors/id/D/DA/DAGOLDEN
@@ -28,4 +29,11 @@ post-install:
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-IPC-Cmd>=0:${PORTSDIR}/devel/p5-IPC-Cmd
+RUN_DEPENDS+= p5-IPC-Cmd>=0:${PORTSDIR}/devel/p5-IPC-Cmd
+.endif
+
+.include <bsd.port.post.mk>