summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-01-07 21:07:34 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-01-07 21:07:34 +0000
commit5a4a26438ca5e89015aedf436fccca79d2288bd7 (patch)
tree22b9b1f2b6549afd4bc4fc93a2fcb0a3472ed38e /media-libs/netpbm
parentmarked as stable in x86 (diff)
downloadgentoo-2-5a4a26438ca5e89015aedf436fccca79d2288bd7.tar.gz
gentoo-2-5a4a26438ca5e89015aedf436fccca79d2288bd7.tar.bz2
gentoo-2-5a4a26438ca5e89015aedf436fccca79d2288bd7.zip
arch fix
Diffstat (limited to 'media-libs/netpbm')
-rw-r--r--media-libs/netpbm/netpbm-10.11.4.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/media-libs/netpbm/netpbm-10.11.4.ebuild b/media-libs/netpbm/netpbm-10.11.4.ebuild
index d5b6b5b82121..4df1f947c123 100644
--- a/media-libs/netpbm/netpbm-10.11.4.ebuild
+++ b/media-libs/netpbm/netpbm-10.11.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.11.4.ebuild,v 1.3 2003/01/07 20:42:56 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.11.4.ebuild,v 1.4 2003/01/07 21:07:34 mholzer Exp $
IUSE="svga"
@@ -22,11 +22,15 @@ src_unpack() {
unpack ${A}
cd ${S}
- if [ -n "`use svga`" ]
- then
- cfg="svga"
+ if [ ${ARCH} != "x86" ] ; then
+ cfg="config"
else
- cfg="config"
+ if [ -n "`use svga`" ]
+ then
+ cfg="svga"
+ else
+ cfg="config"
+ fi
fi
sed <${FILESDIR}/${PV}/Makefile.${cfg} >Makefile.config \