pkgsrc/x11/pixman/builtin.mk
jperkin c24ed9c54f The "rename" rule is a published synonym for the "opt" transform rule, however
only the latter is supported by cwrappers.  Change them all to "opt" rules for
consistency and to gain compatibility with cwrappers.
2014-12-15 11:46:34 +00:00

18 lines
705 B
Makefile

# $NetBSD: builtin.mk,v 1.8 2014/12/15 11:46:36 jperkin Exp $
BUILTIN_PKG:= pixman
PKGCONFIG_FILE.pixman= ${X11BASE}/lib/pkgconfig/pixman-1.pc
PKGCONFIG_FILE.pixman+= ${X11BASE}/lib${LIBABISUFFIX}/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.
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+= opt:-lpixman-1.0.10.0:-lpixman-1
.endif