diff options
author | tron <tron> | 2008-08-18 21:35:37 +0000 |
---|---|---|
committer | tron <tron> | 2008-08-18 21:35:37 +0000 |
commit | da32d03548d662dfd2796850cddffb9fd27cad80 (patch) | |
tree | 23246322726bf374ffc7918c355b2f99beac1fb1 /graphics | |
parent | 9cd9b30abec1884e05332abdbfe07c8594df3b27 (diff) | |
download | pkgsrc-da32d03548d662dfd2796850cddffb9fd27cad80.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')
-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/+$//} |