summaryrefslogtreecommitdiff
path: root/graphics/png/Makefile
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
commit1c4cde9f90b56773af0556ae45bd317100cd4a0b (patch)
treeffa666cad55ec11a273bff69f91e2db677405238 /graphics/png/Makefile
parent1ba511487a91cd9fa8750b8099f2f8481cbd80ae (diff)
downloadpkgsrc-1c4cde9f90b56773af0556ae45bd317100cd4a0b.tar.gz
Extend ".la" file hack to make it work under Mac OS X (Darwin), too.
Diffstat (limited to 'graphics/png/Makefile')
-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