[Lunar-commits] r26291 - in moonbase/trunk/compilers: gcc gcc3 gcc42
Moritz Heiber
moe at lunar-linux.org
Sat Oct 20 01:06:46 CEST 2007
Author: moe
Date: 2007-10-20 01:06:46 +0200 (Sat, 20 Oct 2007)
New Revision: 26291
Modified:
moonbase/trunk/compilers/gcc/POST_INSTALL
moonbase/trunk/compilers/gcc3/POST_INSTALL
moonbase/trunk/compilers/gcc42/POST_INSTALL
Log:
gcc42 was totally messed up .. I wonder how you were ever
able to use it. Anyway, thats fixed now .. alongside some
fixes to the other compiler modules. I really don't like
any module removing compilers though .. I'd actually be in
favour of removing these instructions alltogether ..
Modified: moonbase/trunk/compilers/gcc/POST_INSTALL
===================================================================
--- moonbase/trunk/compilers/gcc/POST_INSTALL 2007-10-19 18:00:27 UTC (rev 26290)
+++ moonbase/trunk/compilers/gcc/POST_INSTALL 2007-10-19 23:06:46 UTC (rev 26291)
@@ -1,6 +1,12 @@
# allow seamless upgrade/downgrade from/to gcc <=> gcc3
-remove_module gcc3
+if module_installed gcc3 ; then
+ remove_module gcc3
+if
+if module_installed gcc42 ; then
+ remove_module gcc42
+if
+
cd /usr/lib/gcc/$BUILD/$VERSION &&
ln -sf /usr/bin/cpp cpp &&
cd /lib/ &&
Modified: moonbase/trunk/compilers/gcc3/POST_INSTALL
===================================================================
--- moonbase/trunk/compilers/gcc3/POST_INSTALL 2007-10-19 18:00:27 UTC (rev 26290)
+++ moonbase/trunk/compilers/gcc3/POST_INSTALL 2007-10-19 23:06:46 UTC (rev 26291)
@@ -1,6 +1,12 @@
# allow seamless upgrade/downgrade from/to gcc <=> gcc3
-remove_module gcc
+if module_installed gcc ; then
+ remove_module gcc
+fi
+if module_installed gcc42 ; then
+ remove_module gcc42
+if
+
cd /usr/lib/gcc/$BUILD/$VERSION &&
ln -sf /usr/bin/cpp cpp &&
cd /lib/ &&
Modified: moonbase/trunk/compilers/gcc42/POST_INSTALL
===================================================================
--- moonbase/trunk/compilers/gcc42/POST_INSTALL 2007-10-19 18:00:27 UTC (rev 26290)
+++ moonbase/trunk/compilers/gcc42/POST_INSTALL 2007-10-19 23:06:46 UTC (rev 26291)
@@ -1,6 +1,12 @@
# allow seamless upgrade/downgrade from/to gcc <=> gcc42
-remove_module gcc42
+if module_installed gcc ; then
+ remove_module gcc
+fi
+if module_installed gcc3 ; then
+ remove_module gcc3
+if
+
cd /usr/lib/gcc/$BUILD/$VERSION &&
ln -sf /usr/bin/cpp cpp &&
cd /lib/ &&
More information about the Lunar-commits
mailing list