diff options
author | tron <tron> | 2011-07-11 19:19:42 +0000 |
---|---|---|
committer | tron <tron> | 2011-07-11 19:19:42 +0000 |
commit | 59a57b2a109310c0328af51813680951ffba9837 (patch) | |
tree | 6f32cd818337432d9056d85d1dcdf10426590ad3 /x11 | |
parent | d269f3a52c1729a2bd8b52e7c774e8849e15d0df (diff) | |
download | pkgsrc-59a57b2a109310c0328af51813680951ffba9837.tar.gz |
Fix build problem under Mac OS X.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/pixman/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile index cfff7998849..bf40b705eba 100644 --- a/x11/pixman/Makefile +++ b/x11/pixman/Makefile @@ -1,5 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2011/07/11 10:50:58 drochner Exp $ -# +# $NetBSD: Makefile,v 1.41 2011/07/11 19:19:42 tron Exp $ DISTNAME= pixman-0.22.2 CATEGORIES= x11 @@ -9,6 +8,7 @@ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://xorg.freedesktop.org/ COMMENT= Library of low-level pixel manipulation routines +LICENSE= mit PKG_DESTDIR_SUPPORT= user-destdir @@ -42,4 +42,15 @@ post-extract: ${CP} ${FILESDIR}/pixman.sym ${WRKDIR} ${CP} ${FILESDIR}/solaris-hwcap.mapfile ${WRKSRC}/pixman +.include "../../mk/bsd.prefs.mk" + +# Link the tests with the static library under Mac OS X as we cannot use +# the shared library out of the build area. +.if ${OPSYS} == "Darwin" +SUBST_CLASSES+= pixmantests +SUBST_STAGE.pixmantests= post-configure +SUBST_FILES.pixmantests= test/Makefile +SUBST_SED.pixmantests= -e 's@libpixman-1\.la@\.libs/libpixman-1\.a@' +.endif + .include "../../mk/bsd.pkg.mk" |