summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-01-14 18:13:31 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-01-14 18:13:31 +0000
commita431876ecd576e09ced22cd342cacdc5648ece73 (patch)
tree1b7c54d0f271f3f6edc59ea673dbf89154655ddb /media-libs/netpbm/netpbm-10.11.14.ebuild
parentVersion bumped (diff)
downloadgentoo-2-a431876ecd576e09ced22cd342cacdc5648ece73.tar.gz
gentoo-2-a431876ecd576e09ced22cd342cacdc5648ece73.tar.bz2
gentoo-2-a431876ecd576e09ced22cd342cacdc5648ece73.zip
Version bumped
Diffstat (limited to 'media-libs/netpbm/netpbm-10.11.14.ebuild')
-rw-r--r--media-libs/netpbm/netpbm-10.11.14.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/media-libs/netpbm/netpbm-10.11.14.ebuild b/media-libs/netpbm/netpbm-10.11.14.ebuild
index c2c349cac458..654a45f5df95 100644
--- a/media-libs/netpbm/netpbm-10.11.14.ebuild
+++ b/media-libs/netpbm/netpbm-10.11.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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.14.ebuild,v 1.5 2004/01/14 17:45:29 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.11.14.ebuild,v 1.6 2004/01/14 18:13:21 mholzer Exp $
inherit flag-o-matic
@@ -23,19 +23,18 @@ DEPEND=">=media-libs/jpeg-6b
src_unpack() {
unpack ${A}
cd ${S}
+ cp Makefile.config.in Makefile.config
if [ `use svga` ] ; then
- cfg="svga"
- else
- cfg="config"
+ echo "LINUXSVGAHDR_DIR = /usr/include" >> Makefile.config
+ echo "LINUXSVGALIB = /usr/lib/libvga.so" >> Makefile.config
fi
# Sparc support ...
replace-flags "-mcpu=ultrasparc" "-mcpu=v8 -mtune=ultrasparc"
replace-flags "-mcpu=v9" "-mcpu=v8 -mtune=v9"
- sed -e "s:-O3:${CFLAGS} -fPIC:" ${FILESDIR}/${PV}/Makefile.${cfg} \
- > Makefile.config || die "Flag replacement failed"
+ sed -i -e "s:-O3:${CFLAGS} -fPIC:" Makefile.config || die " sed failed"
}
src_compile() {