Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2015 22:14:26 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384388 - head/x11-toolkits/p5-Alien-wxWidgets
Message-ID:  <201504202214.t3KMEQJZ099982@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504202214.t3KMEQJZ099982>