diff options
author | tron <tron@pkgsrc.org> | 2008-08-18 21:35:37 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2008-08-18 21:35:37 +0000 |
commit | 852ac68c236f2172a3ab036062c90e2bc6045b73 (patch) | |
tree | 23246322726bf374ffc7918c355b2f99beac1fb1 /graphics/png | |
parent | 4639c22bc10524effde1a60cfb77fc89188062ea (diff) | |
download | pkgsrc-852ac68c236f2172a3ab036062c90e2bc6045b73.tar.gz |
Work arond the broken libtool archive "/usr/X11/lib/libpng12.la" under
Mac OS X Leopard. This fixes build problems in e.g. the "libwmf" package.
Diffstat (limited to 'graphics/png')
-rw-r--r-- | graphics/png/buildlink3.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/png/buildlink3.mk b/graphics/png/buildlink3.mk index 446d1c13e94..7d17890b35d 100644 --- a/graphics/png/buildlink3.mk +++ b/graphics/png/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.21 2007/10/26 03:53:39 bjs Exp $ +# $NetBSD: buildlink3.mk,v 1.22 2008/08/18 21:35:37 tron Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PNG_BUILDLINK3_MK:= ${PNG_BUILDLINK3_MK}+ @@ -28,6 +28,13 @@ CPPFLAGS+= -DPNG_NO_ASSEMBLER_CODE . endif .endif # PNG_BUILDLINK3_MK +# Work around broken libtool archive "/usr/X11/lib/libpng12.la" under +# Mac OS 10.5.4 or newer which references a non-existing version of the +# PNG shared library. +.if !empty(MACHINE_PLATFORM:MDarwin-9.*-*) +BUILDLINK_TRANSFORM+= rename:-lpng12.0.26.0:-lpng +.endif + .include "../../devel/zlib/buildlink3.mk" BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |