[56493] trunk/dports/sysutils/gcc_select

jmr at macports.org jmr at macports.org
Fri Aug 28 15:00:36 PDT 2009


Revision: 56493
          http://trac.macports.org/changeset/56493
Author:   jmr at macports.org
Date:     2009-08-28 15:00:36 -0700 (Fri, 28 Aug 2009)
Log Message:
-----------
gcc_select: add darwin 10 / gcc42

Modified Paths:
--------------
    trunk/dports/sysutils/gcc_select/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/gcc_select/files/gcc42

Modified: trunk/dports/sysutils/gcc_select/Portfile
===================================================================
--- trunk/dports/sysutils/gcc_select/Portfile	2009-08-28 21:53:56 UTC (rev 56492)
+++ trunk/dports/sysutils/gcc_select/Portfile	2009-08-28 22:00:36 UTC (rev 56493)
@@ -61,4 +61,13 @@
 	}
 }
 
+# install & select gcc42
+platform darwin 10 {
+	post-destroot {
+		xinstall -m 644 -W ${filespath} gcc42 \
+			${destroot}${prefix}/etc/select/gcc
+		system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc42"
+	}
+}
+
 livecheck.check	none

Added: trunk/dports/sysutils/gcc_select/files/gcc42
===================================================================
--- trunk/dports/sysutils/gcc_select/files/gcc42	                        (rev 0)
+++ trunk/dports/sysutils/gcc_select/files/gcc42	2009-08-28 22:00:36 UTC (rev 56493)
@@ -0,0 +1,7 @@
+/usr/bin/gcc-4.2
+/usr/bin/cpp-4.2
+/usr/bin/c++-4.2
+/usr/bin/g++-4.2
+-
+/usr/bin/gcov-4.2
+-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090828/60acc8ea/attachment-0001.html>


More information about the macports-changes mailing list