summaryrefslogtreecommitdiff
path: root/graphics/png/files/patch-makefile.freebsd
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /graphics/png/files/patch-makefile.freebsd
parent- Allow for larger database UIDs (diff)
- update png to 1.5.10
Diffstat (limited to '')
-rw-r--r--graphics/png/files/patch-makefile.freebsd14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/png/files/patch-makefile.freebsd b/graphics/png/files/patch-makefile.freebsd
index d81023af2185..e35f35b313ba 100644
--- a/graphics/png/files/patch-makefile.freebsd
+++ b/graphics/png/files/patch-makefile.freebsd
@@ -1,5 +1,5 @@
---- scripts/makefile.freebsd.orig 2010-01-03 06:05:38.000000000 +0100
-+++ scripts/makefile.freebsd 2010-01-18 13:25:13.000000000 +0100
+--- scripts/makefile.freebsd.orig 2011-01-06 14:02:38.000000000 +0100
++++ scripts/makefile.freebsd 2011-01-07 11:16:17.000000000 +0100
@@ -11,17 +11,17 @@
LIB= png
SHLIB_MAJOR= ${SHLIB_VER}
@@ -14,7 +14,7 @@
-LIBDIR= /lib
+#DESTDIR= ${PREFIX}
+LIBDIR= ${PREFIX}/lib
- INCS= png.h pngconf.h pngpriv.h
+ INCS= png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
-INCSDIR= /include/libpng
+INCSDIR= ${PREFIX}/include/libpng
INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk
@@ -22,9 +22,9 @@
-MANDIR= /man/man
+MANDIR= ${PREFIX}/man/man
SYMLINKS= libpng/png.h ${INCSDIR}/../png.h \
- libpng/pngconf.h ${INCSDIR}/../pngconf.h
- LDADD+= -lm -lz
-@@ -45,4 +45,22 @@
+ libpng/pngconf.h ${INCSDIR}/../pngconf.h \
+ libpng/pnglibconf.h ${INCSDIR}/../pnglibconf.h
+@@ -50,4 +50,22 @@
writelock:
chmod a-w *.[ch35] $(DOCS) scripts/*
@@ -44,6 +44,6 @@
+beforeinstall: libpng-config
+ ${BSD_INSTALL_SCRIPT} \
+ libpng-config ${PREFIX}/bin
-+ ln -sf libpng-config ${PREFIX}/bin/libpng14-config
++ ln -sf libpng-config ${PREFIX}/bin/libpng15-config
+
.include <bsd.lib.mk>