Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=90a399845df954daacb1b9817f525c4208da2700

commit 90a399845df954daacb1b9817f525c4208da2700
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Mar 10 20:38:14 2008 +0100

makepkg: added a hack for outdated makepkg.confs
- from crazy

diff --git a/scripts/makepkg b/scripts/makepkg
index a84c3ab..d4f005c 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -114,6 +114,13 @@ Fextract() {
# makepkg configuration
[ -f /etc/makepkg.conf ] && source /etc/makepkg.conf

+## both are hacks , remove after 0.9 and move to makepkg.conf
+
+if [ -e /etc/frugalware-release ] && $ECHO $CHOST|grep -q linux-gnu; then
+        unset CHOST
+        export CHOST="`arch`-frugalware-linux"
+fi
+
# we need -fno-strict-aliasing for gcc 4.2*++
_gccver=`type -p gcc >/dev/null && gcc -dumpversion`
if [ "${_gccver%%.?}" == "4.3" ]; then
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to