mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Update pngcrush to 1.7.11
This commit is contained in:
15
media-gfx/pngcrush/patches/pngcrush-1.7.11.patch
Normal file
15
media-gfx/pngcrush/patches/pngcrush-1.7.11.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff -up pngcrush-1.7.11-nolib/Makefile.orig pngcrush-1.7.11-nolib/Makefile
|
||||
--- pngcrush-1.7.11-nolib/Makefile.orig 2010-02-25 21:21:23.004980736 -0700
|
||||
+++ pngcrush-1.7.11-nolib/Makefile 2010-05-18 14:10:18.201588736 -0600
|
||||
@@ -31,7 +31,11 @@ E =
|
||||
PNGCRUSH = pngcrush
|
||||
|
||||
# LIBS = -lm
|
||||
+ifeq ($(shell uname), Haiku)
|
||||
+LIBS = -L/boot/system/lib -lpng -lz
|
||||
+else
|
||||
LIBS = -L$(PNGLIB) -lpng -lz -lm
|
||||
+endif
|
||||
# LIBS = -lpng -lz -lm
|
||||
#LIBS = ${ZLIB}/libz.a -lm
|
||||
|
||||
Reference in New Issue
Block a user