[Lunar-commits] <moonbase-core> gcc: remove the offending freetype broken link at install.
Florin Braescu
florin at lunar-linux.org
Sun Mar 31 19:27:53 CEST 2013
commit 9374f59ae0ddd9b8a781922ae31089674ccd8043
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sat, 13 Oct 2012 08:21:23 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/9374f59ae0ddd9b8a781922ae31089674ccd8043
gcc: remove the offending freetype broken link at install.
---
compilers/gcc/BUILD | +5/-2
compilers/gcc/BUILD.x86_64 | +4/-1
2 files changed, 9 insertions(+), 3 deletions(-)
--- a/compilers/gcc/BUILD
+++ b/compilers/gcc/BUILD
@@ -39,10 +39,13 @@
cd /usr/lib/gcc/$BUILD/$VERSION &&
ln -sf /usr/bin/cpp cpp &&
cd /lib/ &&
- ln -sf /usr/bin/cpp cpp &&
+ ln -sf /usr/bin/cpp cpp &&
if [ ! -e /usr/bin/cc ] ; then
ln -s gcc /usr/bin/cc
- fi
+ fi &&
+
+# remove the offending broken freetype link
+ rm -f $MODULE_PREFIX/lib/gcc/$BUILD/$VERSION/include-fixed/freetype
) > $C_FIFO 2>&1
--- a/compilers/gcc/BUILD.x86_64
+++ b/compilers/gcc/BUILD.x86_64
@@ -45,6 +45,9 @@
if [ ! -e /usr/bin/cc ] ; then
ln -s gcc /usr/bin/cc
- fi
+ fi &&
+
+# remove the offending freetype broken link
+ rm -f $MODULE_PREFIX/lib/gcc/$BUILD/$VERSION/include-fixed/freetype
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list