From 8393b1d254856b11049acb185d19ee6af7e8cda0 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 15 Aug 2009 12:52:14 +0200 Subject: gtk1, maj pour la 64 bits --- base/gtk1/Pkgfile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'base/gtk1/Pkgfile') diff --git a/base/gtk1/Pkgfile b/base/gtk1/Pkgfile index 77d2ae6ee..1e4e93bcb 100755 --- a/base/gtk1/Pkgfile +++ b/base/gtk1/Pkgfile @@ -7,15 +7,23 @@ name=gtk1 version=1.2.10 release=1 -source=( http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/gtk+-$version.tar.gz) - +source=( http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/gtk+-$version.tar.gz\ + config.{guess,sub} aclocal-fixes.patch) build() { - cd gtk+-$version +cd gtk+-$version +if [ "`uname -m`" == "x86_64" ]; then + rm config.guess config.sub + cp ../config.guess config.guess + cp ../config.sub config.sub + +fi +patch -Np0 -i ../aclocal-fixes.patch ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + --with-xinput=xfree make make DESTDIR=$PKG install rm $PKG/usr/share/info/dir -- cgit v1.2.3-70-g09d2