[93951] trunk/dports/devel/cctools/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Jun 4 16:42:38 PDT 2012


Revision: 93951
          https://trac.macports.org/changeset/93951
Author:   jeremyhu at macports.org
Date:     2012-06-04 16:42:37 -0700 (Mon, 04 Jun 2012)
Log Message:
-----------
cctools: Build fix for non-llvm variant on Tiger, and don't strip installed binaries.

Modified Paths:
--------------
    trunk/dports/devel/cctools/Portfile

Modified: trunk/dports/devel/cctools/Portfile
===================================================================
--- trunk/dports/devel/cctools/Portfile	2012-06-04 23:09:40 UTC (rev 93950)
+++ trunk/dports/devel/cctools/Portfile	2012-06-04 23:42:37 UTC (rev 93951)
@@ -49,7 +49,7 @@
     supported_archs     i386 x86_64
 
     patchfiles-delete   cctools-822-no-lto.patch
-    patchfiles-append   PR-9087924.patch PR-9830754.patch
+    patchfiles-append   PR-9087924.patch PR-9830754.patch cctools-822-no-lto.patch
 }
 
 if {![variant_isset llvm29] && ![variant_isset llvm30] && ![variant_isset llvm31] && ${os.major} >= 9} {
@@ -93,6 +93,9 @@
         reinplace "s:/Developer${prefix}:${prefix}:g" ${file}
         reinplace "s:${prefix}/man:${prefix}/share/man:g" ${file}
 
+        # Don't strip installed binaries
+        reinplace "s:\\(install .*\\)-s :\\1:g" ${file}
+
         if {${os.major} < 10} {
             reinplace "s:${prefix}/bin/mig:/usr/bin/mig:g" ${file}
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120604/43022eec/attachment-0001.html>


More information about the macports-changes mailing list