summaryrefslogtreecommitdiff
path: root/media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch')
-rw-r--r--media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch b/media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch
new file mode 100644
index 000000000000..77d86dc52446
--- /dev/null
+++ b/media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch
@@ -0,0 +1,15 @@
+--- Makefile 2002-01-01 22:46:46.000000000 +0000
++++ Makefile.new 2002-11-11 01:11:12.000000000 +0000
+@@ -21,9 +21,9 @@
+ man1dir = $(mandir)/man1
+
+ CC = gcc -W -Wall
+-CFLAGS = -O2 -fomit-frame-pointer
+-LDFLAGS = -s
+-LIBS = -lpng
++CFLAGS += -fomit-frame-pointer `libpng-config --cflags`
++LDFLAGS += `libpng-config --ldflags`
++LIBS = `libpng-config --libs`
+ INSTALL = install
+ INSTALL_EXEC = $(INSTALL) -c -m 755
+ INSTALL_DATA = $(INSTALL) -c -m 644