[90680] trunk/dports/sysutils/gcc_select

jmr at macports.org jmr at macports.org
Sun Mar 11 19:52:42 PDT 2012


Revision: 90680
          http://trac.macports.org/changeset/90680
Author:   jmr at macports.org
Date:     2012-03-11 19:52:42 -0700 (Sun, 11 Mar 2012)
Log Message:
-----------
gcc_select: update llvm-gcc-4.2 paths to match current base (and thus work with Xcode 4.3)

Modified Paths:
--------------
    trunk/dports/sysutils/gcc_select/Portfile
    trunk/dports/sysutils/gcc_select/files/llvm-gcc42

Modified: trunk/dports/sysutils/gcc_select/Portfile
===================================================================
--- trunk/dports/sysutils/gcc_select/Portfile	2012-03-12 02:42:41 UTC (rev 90679)
+++ trunk/dports/sysutils/gcc_select/Portfile	2012-03-12 02:52:42 UTC (rev 90680)
@@ -5,7 +5,7 @@
 
 name			gcc_select
 version			0.1
-revision		5
+revision		6
 categories		sysutils
 platforms		darwin
 license		BSD
@@ -47,7 +47,10 @@
 	post-destroot {
 		select::install gcc ${filespath}/gcc40
 		select::install gcc ${filespath}/gcc42
-		select::install gcc ${filespath}/llvm-gcc42
+		# llvm-gcc-4.2 is not available in /usr/bin on Leopard
+		copy ${filespath}/llvm-gcc42 ${workpath}/llvm-gcc42
+		reinplace "s|/usr/bin|${developer_dir}/usr/bin|" ${workpath}/llvm-gcc42
+		select::install gcc ${workpath}/llvm-gcc42
 	}
 }
 

Modified: trunk/dports/sysutils/gcc_select/files/llvm-gcc42
===================================================================
--- trunk/dports/sysutils/gcc_select/files/llvm-gcc42	2012-03-12 02:42:41 UTC (rev 90679)
+++ trunk/dports/sysutils/gcc_select/files/llvm-gcc42	2012-03-12 02:52:42 UTC (rev 90680)
@@ -1,7 +1,7 @@
-${developer_dir}/usr/bin/llvm-gcc-4.2
-${developer_dir}/usr/bin/llvm-cpp-4.2
-${developer_dir}/usr/bin/llvm-g++-4.2
-${developer_dir}/usr/bin/llvm-g++-4.2
+/usr/bin/llvm-gcc-4.2
+/usr/bin/llvm-cpp-4.2
+/usr/bin/llvm-g++-4.2
+/usr/bin/llvm-g++-4.2
 -
-${developer_dir}/usr/bin/gcov-4.2
+/usr/bin/gcov-4.2
 -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120311/cf899074/attachment-0001.html>


More information about the macports-changes mailing list