[105990] trunk/dports/lang/perl5.12/Portfile

larryv at macports.org larryv at macports.org
Sun May 12 10:28:04 PDT 2013


Revision: 105990
          https://trac.macports.org/changeset/105990
Author:   larryv at macports.org
Date:     2013-05-12 10:28:03 -0700 (Sun, 12 May 2013)
Log Message:
-----------
perl5.12: Move miniperl/libstdcxx workaround into darwin block.

Modified Paths:
--------------
    trunk/dports/lang/perl5.12/Portfile

Modified: trunk/dports/lang/perl5.12/Portfile
===================================================================
--- trunk/dports/lang/perl5.12/Portfile	2013-05-12 07:06:24 UTC (rev 105989)
+++ trunk/dports/lang/perl5.12/Portfile	2013-05-12 17:28:03 UTC (rev 105990)
@@ -32,17 +32,18 @@
 
 patchfiles	patch-Configure.diff patch-handy.h.stdbool.diff
 
-# While linking miniperl, remove LIBRARY_PATH and -L flags to keep
-# linker from using MacPorts' libstdcxx (#36438).
-patchfiles-append   patch-Makefile.SH.diff
-post-patch {
-    reinplace "s|__PREFIX_LIB__|${prefix}/lib|g" ${worksrcpath}/Makefile.SH
-}
-
 platform darwin {
     patchfiles-append   patch-hints_darwin.sh.diff
 ##    patchfiles-append   patch-hints_darwin.diff \
 ## 						patch-perl.c.diff
+
+    # Prevent linker from indirectly using MacPorts' libstdcxx for
+    # miniperl (#36438).
+    patchfiles-append   patch-Makefile.SH.diff
+    post-patch {
+        reinplace "s|__PREFIX_LIB__|${prefix}/lib|g" ${worksrcpath}/Makefile.SH
+    }
+
 }
 
 pre-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130512/41ea5ecb/attachment.html>


More information about the macports-changes mailing list