summaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Alien-wxWidgets/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/p5-Alien-wxWidgets/Makefile')
-rw-r--r--x11-toolkits/p5-Alien-wxWidgets/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11-toolkits/p5-Alien-wxWidgets/Makefile b/x11-toolkits/p5-Alien-wxWidgets/Makefile
index f2eea8abd865..f623d91a0c55 100644
--- a/x11-toolkits/p5-Alien-wxWidgets/Makefile
+++ b/x11-toolkits/p5-Alien-wxWidgets/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Alien-wxWidgets
PORTVERSION= 0.43
+PORTREVISION= 1
CATEGORIES= x11-toolkits perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -20,10 +21,14 @@ OPTIONS= UNICODE "Build with Unicode support" on
USE_WX= 2.6+
WX_COMPS= wx contrib
-PERL_MODBUILD= YES
+PERL_MODBUILD= 5.6.0+
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500809
+BUILD_DEPENDS+= ${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable
+.endif
+
.if defined(WITH_UNICODE)
WX_UNICODE= yes
WX_UNI= uni_