pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/png Work arond the broken libtool archive "/u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/abcc04d28866
branches:  trunk
changeset: 545994:abcc04d28866
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Aug 18 21:35:37 2008 +0000

description:
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:

 graphics/png/buildlink3.mk |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 9b151ab80efd -r abcc04d28866 graphics/png/buildlink3.mk
--- a/graphics/png/buildlink3.mk        Mon Aug 18 20:23:21 2008 +0000
+++ b/graphics/png/buildlink3.mk        Mon Aug 18 21:35:37 2008 +0000
@@ -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 @@
 .  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/+$//}



Home | Main Index | Thread Index | Old Index