summaryrefslogtreecommitdiff
path: root/x11/pixman/builtin.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/pixman/builtin.mk')
-rw-r--r--x11/pixman/builtin.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/pixman/builtin.mk b/x11/pixman/builtin.mk
index a6a70f65c6d..144232e5088 100644
--- a/x11/pixman/builtin.mk
+++ b/x11/pixman/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.5 2008/10/06 11:22:09 tron Exp $
+# $NetBSD: builtin.mk,v 1.6 2008/10/06 12:54:43 tron Exp $
BUILTIN_PKG:= pixman
PKGCONFIG_FILE.pixman= ${X11BASE}/lib/pkgconfig/pixman-1.pc
@@ -9,6 +9,9 @@ PKGCONFIG_FILE.pixman= ${X11BASE}/lib/pkgconfig/pixman-1.pc
# 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.*-*)
+CHECK_BUILTIN.pixman?= no
+.if !empty(CHECK_BUILTIN.pixman:M[nN][oO]) && \
+ !empty(USE_BUILTIN.pixman:M[Yy][Ee][Ss]) && \
+ !empty(MACHINE_PLATFORM:MDarwin-9.*-*)
BUILDLINK_TRANSFORM+= rename:-lpixman-1.0.10.0:-lpixman-1
.endif