[Lunar-commits]
CVS: moonbase/compilers/gcc/3.4.1 POST_INSTALL, 1.1, 1.2
Florin Braescu
florin at lunar-linux.org
Thu Aug 19 15:15:42 GMT 2004
Update of /var/cvs/lunar/moonbase/compilers/gcc/3.4.1
In directory dbguin.lunar-linux.org:/tmp/cvs-serv11173
Modified Files:
POST_INSTALL
Log Message:
fix the patch for gcc symlink in /usr/lib/gcc.
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/compilers/gcc/3.4.1/POST_INSTALL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- POST_INSTALL 14 Aug 2004 07:35:55 -0000 1.1
+++ POST_INSTALL 19 Aug 2004 15:15:39 -0000 1.2
@@ -1,14 +1,15 @@
-cd /opt/lunar/gcc/$VERSION/lib/gcc-lib/$BUILD/$VERSION &&
-ln -sf /opt/lunar/gcc/$VERSION/bin/cpp cpp &&
-cd /lib/ &&
-ln -sf /opt/lunar/gcc/$VERSION/bin/cpp cpp &&
-if [ ! -e /opt/lunar/gcc/$VERSION/bin/cc ] ; then
- ln -s gcc /opt/lunar/gcc/$VERSION/bin/cc
-fi &&
+if [ ! -d /usr/lib/gcc/$BUILD/$VERSION ] ; then
+ mkdir -p /usr/lib/gcc/$BUILD/$VERSION
+fi &&
-rm_source_dir /usr/src/gcc-$VERSION-BUILD &&
-rm_source_dir /usr/src/gcc-$VERSION &&
+cd /usr/lib/gcc/$BUILD/$VERSION &&
+ln -sf /usr/bin/cpp cpp &&
+cd /lib/ &&
+ln -sf /usr/bin/cpp cpp &&
-ldconfig
+if [ ! -e /usr/bin/cc ] ; then
+ ln -s gcc /usr/bin/cc
+fi &&
+ldconfig
More information about the Lunar-commits
mailing list