summaryrefslogtreecommitdiffstats
path: root/base/gtk1/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/gtk1/Pkgfile')
-rwxr-xr-xbase/gtk1/Pkgfile16
1 files changed, 12 insertions, 4 deletions
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