svn commit: r384388 - head/x11-toolkits/p5-Alien-wxWidgets

Mathieu Arnold mat at FreeBSD.org
Mon Apr 20 22:14:26 UTC 2015


Author: mat
Date: Mon Apr 20 22:14:25 2015
New Revision: 384388
URL: https://svnweb.freebsd.org/changeset/ports/384388

Log:
  Fix build with Perl 5.20.0+
  
  With hat:	perl@
  Sponsored by:	Absolight

Modified:
  head/x11-toolkits/p5-Alien-wxWidgets/Makefile

Modified: head/x11-toolkits/p5-Alien-wxWidgets/Makefile
==============================================================================
--- head/x11-toolkits/p5-Alien-wxWidgets/Makefile	Mon Apr 20 21:07:29 2015	(r384387)
+++ head/x11-toolkits/p5-Alien-wxWidgets/Makefile	Mon Apr 20 22:14:25 2015	(r384388)
@@ -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>


More information about the svn-ports-all mailing list