summaryrefslogtreecommitdiffstats
path: root/glib1/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'glib1/Pkgfile')
-rwxr-xr-xglib1/Pkgfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/glib1/Pkgfile b/glib1/Pkgfile
index 7543ccda9..495c89318 100755
--- a/glib1/Pkgfile
+++ b/glib1/Pkgfile
@@ -5,7 +5,7 @@
name=glib1
version=1.2.10
-release=1
+release=2
localname=glib
source=( http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/$localname-$version.tar.gz\
http://nutyx.meticul.eu/files/patchs/$name/{config.patch,gcc340.patch} )
@@ -15,10 +15,10 @@ build() {
cd $localname-$version
patch -Np1 -i ../config.patch
patch -Np1 -i ../gcc340.patch
+[ "`uname -m`" = 'x86_64' ] && CONFIGFLAG='--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu'
./configure --prefix=/usr --host=`uname -m`\
--mandir=/usr/share/man \
- --infodir=/usr/share/info
-make
+ --infodir=/usr/share/info $CONFIGFLAG
make DESTDIR=$PKG install
if [ -f $PKG/usr/lib/libgmodule-1.2.so.0.0.10 ]; then
chmod -v 755 $PKG/usr/lib/libgmodule-1.2.so.0.0.10