[123785] trunk/dports/perl/p5-alien-wxwidgets/Portfile
mojca at macports.org
mojca at macports.org
Thu Aug 14 07:55:05 PDT 2014
Revision: 123785
https://trac.macports.org/changeset/123785
Author: mojca at macports.org
Date: 2014-08-14 07:55:05 -0700 (Thu, 14 Aug 2014)
Log Message:
-----------
p5-alien-wxwidgets: only add module-pluggable as a dependency in 5.20 or later
Modified Paths:
--------------
trunk/dports/perl/p5-alien-wxwidgets/Portfile
Modified: trunk/dports/perl/p5-alien-wxwidgets/Portfile
===================================================================
--- trunk/dports/perl/p5-alien-wxwidgets/Portfile 2014-08-14 14:41:04 UTC (rev 123784)
+++ trunk/dports/perl/p5-alien-wxwidgets/Portfile 2014-08-14 14:55:05 UTC (rev 123785)
@@ -28,9 +28,13 @@
if {${perl5.major} != ""} {
wxWidgets.use wxWidgets-3.0
+ depends_lib-append port:${wxWidgets.port}
+
# module-pluggable has been removed from Perl core in version 5.20
- depends_lib-append port:${wxWidgets.port} \
+ if {[vercmp ${perl5.major} 5.20] >= 0} {
+ depends_lib-append \
port:p${perl5.major}-module-pluggable
+ }
# author says that Makefile.PL shouldn't be there
# this line is not really needed, but it's a guard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140814/c9fa6b20/attachment.html>
More information about the macports-changes
mailing list