[125530] trunk/dports/textproc/colorer/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Sep 19 19:48:34 PDT 2014


Revision: 125530
          https://trac.macports.org/changeset/125530
Author:   ryandesign at macports.org
Date:     2014-09-19 19:48:34 -0700 (Fri, 19 Sep 2014)
Log Message:
-----------
colorer: fix build on Snow Leopard and earlier whose libstdc++.dylib is not in /usr/lib

Modified Paths:
--------------
    trunk/dports/textproc/colorer/Portfile

Modified: trunk/dports/textproc/colorer/Portfile
===================================================================
--- trunk/dports/textproc/colorer/Portfile	2014-09-20 00:42:16 UTC (rev 125529)
+++ trunk/dports/textproc/colorer/Portfile	2014-09-20 02:48:34 UTC (rev 125530)
@@ -62,7 +62,7 @@
                     CPP=${configure.cc} \
                     CPPFLAGS_CUSTOM="${extra_cflags}" \
                     FLAGS= \
-                    LIBINC="/usr/lib/${configure.cxx_stdlib}.dylib" \
+                    LIBINC="[regsub {^lib} ${configure.cxx_stdlib} {-l}]" \
                     LINK=${configure.cxx} \
                     prefix=${prefix}
 use_parallel_build yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140919/a32d1360/attachment.html>


More information about the macports-changes mailing list