summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-01-16 17:06:58 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-01-16 17:06:58 +0000
commit002848dd3db80ad078ea23df8daecd1038d523b3 (patch)
tree0b623fe9dc685941b71bd81d61d2603956927d82 /media-libs/libpng/libpng-1.2.5-r2.ebuild
parentversion bump (diff)
downloadgentoo-2-002848dd3db80ad078ea23df8daecd1038d523b3.tar.gz
gentoo-2-002848dd3db80ad078ea23df8daecd1038d523b3.tar.bz2
gentoo-2-002848dd3db80ad078ea23df8daecd1038d523b3.zip
using epach and fixed 1.0.15's diff
Diffstat (limited to 'media-libs/libpng/libpng-1.2.5-r2.ebuild')
-rw-r--r--media-libs/libpng/libpng-1.2.5-r2.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/media-libs/libpng/libpng-1.2.5-r2.ebuild b/media-libs/libpng/libpng-1.2.5-r2.ebuild
index 9f21b9ec9621..fa664472e849 100644
--- a/media-libs/libpng/libpng-1.2.5-r2.ebuild
+++ b/media-libs/libpng/libpng-1.2.5-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.5-r2.ebuild,v 1.1 2003/01/08 14:26:45 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.5-r2.ebuild,v 1.2 2003/01/16 17:06:58 seemant Exp $
-inherit flag-o-matic
+inherit flag-o-matic eutils
S=${WORKDIR}/${P}
DESCRIPTION="Portable Network Graphics library"
@@ -19,9 +19,11 @@ src_unpack() {
unpack ${A}
cd ${S}
- patch -p1 < ${FILESDIR}/${P}-gentoo.diff
+ epatch ${FILESDIR}/${P}-gentoo.diff
- replace-flags "-march=k6*" "-march=i586"
+ replace-flags "-march=k6-3" "-march=i586"
+ replace-flags "-march=k6-2" "-march=i586"
+ replace-flags "-march=k6" "-march=i586"
sed -e "s:ZLIBLIB=.*:ZLIBLIB=/usr/lib:" \
-e "s:ZLIBINC=.*:ZLIBINC=/usr/include:" \