summaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Alien-wxWidgets/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-20 22:14:25 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-20 22:14:25 +0000
commit5c10e5452768be65932dadcaed0b63490d2b6ff5 (patch)
tree0eef3b2f46a2503e9f6d14d222551799f7125ab9 /x11-toolkits/p5-Alien-wxWidgets/Makefile
parentUpgrade to 4.9.25. (diff)
Fix build with Perl 5.20.0+
With hat: perl@ Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=384388
Diffstat (limited to '')
-rw-r--r--x11-toolkits/p5-Alien-wxWidgets/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11-toolkits/p5-Alien-wxWidgets/Makefile b/x11-toolkits/p5-Alien-wxWidgets/Makefile
index 876497392e50..24b32b74066a 100644
--- a/x11-toolkits/p5-Alien-wxWidgets/Makefile
+++ b/x11-toolkits/p5-Alien-wxWidgets/Makefile
@@ -3,6 +3,7 @@
PORTNAME= Alien-wxWidgets
PORTVERSION= 0.67
+PORTREVISION= 1
CATEGORIES= x11-toolkits perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -30,4 +31,11 @@ post-install:
@(cd ${STAGEDIR}${PREFIX}; ${FIND} * -type f -name gtk2_\* -print \
>> ${TMPPLIST})
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 502000
+BUILD_DEPENDS+= p5-Module-Pluggable>=5.1:${PORTSDIR}/devel/p5-Module-Pluggable
+RUN_DEPENDS+= p5-Module-Pluggable>=5.1:${PORTSDIR}/devel/p5-Module-Pluggable
+.endif
+
+.include <bsd.port.post.mk>