[123701] trunk/dports/perl/p5-cpan-meta/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Aug 13 01:28:43 PDT 2014


Revision: 123701
          https://trac.macports.org/changeset/123701
Author:   ryandesign at macports.org
Date:     2014-08-13 01:28:43 -0700 (Wed, 13 Aug 2014)
Log Message:
-----------
p5-cpan-meta: fix destroot with perl 5.10 and earlier

Modified Paths:
--------------
    trunk/dports/perl/p5-cpan-meta/Portfile

Modified: trunk/dports/perl/p5-cpan-meta/Portfile
===================================================================
--- trunk/dports/perl/p5-cpan-meta/Portfile	2014-08-13 08:21:58 UTC (rev 123700)
+++ trunk/dports/perl/p5-cpan-meta/Portfile	2014-08-13 08:28:43 UTC (rev 123701)
@@ -29,4 +29,9 @@
         #JSON::PP is in core as of 5.14
         depends_lib-append  port:p${perl5.major}-json-pp
     }
+
+    if {[vercmp ${perl5.major} 5.12] < 0} {
+        configure.env-append \
+                    PERL_NO_HIGHLANDER=1
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140813/540248ff/attachment.html>


More information about the macports-changes mailing list