summaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-04-17 12:49:16 +0000
committertron <tron@pkgsrc.org>2006-04-17 12:49:16 +0000
commit776d9cc5ae9493c48ea591b919f0127fb9a92650 (patch)
treeffa666cad55ec11a273bff69f91e2db677405238 /graphics/png
parent87676f3da8dd05039a512410448614f52afee2c7 (diff)
downloadpkgsrc-776d9cc5ae9493c48ea591b919f0127fb9a92650.tar.gz
Extend ".la" file hack to make it work under Mac OS X (Darwin), too.
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index fefba15042a..c9e67a0ba95 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2006/04/16 23:19:15 wiz Exp $
+# $NetBSD: Makefile,v 1.76 2006/04/17 12:49:16 tron Exp $
DISTNAME= libpng-1.2.9
PKGNAME= ${DISTNAME:S/lib//}
@@ -28,6 +28,7 @@ USE_LIBTOOL= yes
post-install:
cd ${PREFIX}/lib && \
${SED} -e 's/png12/png/g' -e 's/0.9.0/3.9.0/' -e 's/so\.0/so\.3/g' \
+ -e 's/libpng.0.dylib/libpng.3.dylib/g' \
libpng.la > libpng.la.out && \
${MV} libpng.la.out libpng.la