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.
This commit is contained in:
tron 2008-10-06 11:22:09 +00:00
parent 9a118cd057
commit b76af69875

View file

@ -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