[34457] trunk/dports/sysutils/gcc_select/Portfile
raimue at macports.org
raimue at macports.org
Mon Feb 25 13:29:49 PST 2008
Revision: 34457
http://trac.macosforge.org/projects/macports/changeset/34457
Author: raimue at macports.org
Date: 2008-02-25 13:29:48 -0800 (Mon, 25 Feb 2008)
Log Message:
-----------
sysutils/gcc_select:
Fix gcc_select on Leopard, closes #14315 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/sysutils/gcc_select/Portfile
Modified: trunk/dports/sysutils/gcc_select/Portfile
===================================================================
--- trunk/dports/sysutils/gcc_select/Portfile 2008-02-25 20:44:55 UTC (rev 34456)
+++ trunk/dports/sysutils/gcc_select/Portfile 2008-02-25 21:29:48 UTC (rev 34457)
@@ -4,6 +4,7 @@
name gcc_select
version 0.1
+revision 1
categories sysutils
platforms darwin
maintainers mww
@@ -19,10 +20,15 @@
configure.args --mandir=${prefix}/share/man --name=gcc
+post-destroot {
+ xinstall -m 644 -W ${filespath} base \
+ ${destroot}${prefix}/etc/select/gcc
+}
+
# install & select gcc33
platform darwin 7 {
post-destroot {
- xinstall -m 644 -W ${filespath} base gcc33 \
+ xinstall -m 644 -W ${filespath} gcc33 \
${destroot}${prefix}/etc/select/gcc
system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc33"
}
@@ -31,7 +37,7 @@
# install gcc33, gcc40 & select gcc40
platform darwin 8 ppc {
post-destroot {
- xinstall -m 644 -W ${filespath} base gcc40 gcc33 \
+ xinstall -m 644 -W ${filespath} gcc40 gcc33 \
${destroot}${prefix}/etc/select/gcc
system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
}
@@ -40,10 +46,19 @@
# install & select gcc40
platform darwin 8 i386 {
post-destroot {
- xinstall -m 644 -W ${filespath} base gcc40 \
+ xinstall -m 644 -W ${filespath} gcc40 \
${destroot}${prefix}/etc/select/gcc
system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
}
}
+# install & select gcc40
+platform darwin 9 {
+ post-destroot {
+ xinstall -m 644 -W ${filespath} gcc40 \
+ ${destroot}${prefix}/etc/select/gcc
+ system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
+ }
+}
+
livecheck.check none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080225/b879d06e/attachment-0001.html
More information about the macports-changes
mailing list