summaryrefslogtreecommitdiff
path: root/x11/pixman/builtin.mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2008-10-06 11:22:09 +0000
committertron <tron@pkgsrc.org>2008-10-06 11:22:09 +0000
commitb76af6987522f994e0abc65d4cd2537e537da0df (patch)
treeffd052dda6b3567996e054995870c8b0ac05c44a /x11/pixman/builtin.mk
parent9a118cd05752ab42559476caf4e5238996394631 (diff)
downloadpkgsrc-b76af6987522f994e0abc65d4cd2537e537da0df.tar.gz
Work arond the broken libtool archive "/usr/X11/lib/libpixman-1.la" under
Mac OS X Leopard. This fixes build problems in e.g. the "cairo" package.
Diffstat (limited to 'x11/pixman/builtin.mk')
-rw-r--r--x11/pixman/builtin.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/pixman/builtin.mk b/x11/pixman/builtin.mk
index 4e306d46e1b..a6a70f65c6d 100644
--- a/x11/pixman/builtin.mk
+++ b/x11/pixman/builtin.mk
@@ -1,7 +1,14 @@
-# $NetBSD: builtin.mk,v 1.4 2008/10/05 21:36:34 cube Exp $
+# $NetBSD: builtin.mk,v 1.5 2008/10/06 11:22:09 tron Exp $
BUILTIN_PKG:= pixman
PKGCONFIG_FILE.pixman= ${X11BASE}/lib/pkgconfig/pixman-1.pc
.include "../../mk/buildlink3/pkgconfig-builtin.mk"
.include "../../mk/x11.builtin.mk"
+
+# Work around broken libtool archive "/usr/X11/lib/libpixman-1.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:-lpixman-1.0.10.0:-lpixman-1
+.endif