summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/pngtoico/ChangeLog6
-rw-r--r--media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch2
-rw-r--r--media-gfx/pngtoico/pngtoico-1.0.ebuild6
3 files changed, 8 insertions, 6 deletions
diff --git a/media-gfx/pngtoico/ChangeLog b/media-gfx/pngtoico/ChangeLog
index bf67ed9c02ba..7eb2c1589955 100644
--- a/media-gfx/pngtoico/ChangeLog
+++ b/media-gfx/pngtoico/ChangeLog
@@ -1,11 +1,11 @@
# ChangeLog for media-gfx/pngtoico
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/ChangeLog,v 1.3 2003/05/25 14:54:23 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/ChangeLog,v 1.4 2003/11/12 03:01:40 vapier Exp $
+
+*pngtoico-1.0 (14 Nov 2002)
25 May 2003; Martin Holzer <mholzer@gentoo.org> pngtoico-1.0.ebuild:
now uses mirror://kernel
-*pngtoico-1.0 (14 Nov 2002)
-
14 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
Initial import. Ebuild submitted by Alastair Tse <gentoo@liquidx.net>.
diff --git a/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch b/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch
index eab1c38f5711..859f7bf9ef60 100644
--- a/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch
+++ b/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch
@@ -7,7 +7,7 @@
-CFLAGS = -O2 -fomit-frame-pointer
-LDFLAGS = -s
-LIBS = -lpng
-+CFLAGS = -O2 -fomit-frame-pointer `libpng-config --cflags`
++CFLAGS += -fomit-frame-pointer `libpng-config --cflags`
+LDFLAGS = -s `libpng-config --ldflags`
+LIBS = `libpng-config --libs`
INSTALL = install
diff --git a/media-gfx/pngtoico/pngtoico-1.0.ebuild b/media-gfx/pngtoico/pngtoico-1.0.ebuild
index 32972095a95f..01c7a0902068 100644
--- a/media-gfx/pngtoico/pngtoico-1.0.ebuild
+++ b/media-gfx/pngtoico/pngtoico-1.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.ebuild,v 1.3 2003/05/25 14:54:23 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.ebuild,v 1.4 2003/11/12 03:01:40 vapier Exp $
+
+inherit eutils
DESCRIPTION="Convert png images to MS ico format"
HOMEPAGE="http://www.kernel.org/pub/software/graphics/pngtoico/"
@@ -15,7 +17,7 @@ DEPEND="media-libs/libpng"
src_unpack() {
unpack ${A}
cd ${S}
- patch -p1 Makefile < ${FILESDIR}/${P}-Makefile.patch
+ epatch ${FILESDIR}/${P}-Makefile.patch
}
src_compile() {