summaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Alien-wxWidgets/Makefile
diff options
context:
space:
mode:
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>