| @@ -1,24 +1,24 @@ | | | @@ -1,24 +1,24 @@ |
1 | # $NetBSD: Makefile,v 1.40 2011/07/11 10:50:58 drochner Exp $ | | 1 | # $NetBSD: Makefile,v 1.41 2011/07/11 19:19:42 tron Exp $ |
2 | # | | | |
3 | | | 2 | |
4 | DISTNAME= pixman-0.22.2 | | 3 | DISTNAME= pixman-0.22.2 |
5 | CATEGORIES= x11 | | 4 | CATEGORIES= x11 |
6 | MASTER_SITES= ${MASTER_SITE_XORG:=lib/} | | 5 | MASTER_SITES= ${MASTER_SITE_XORG:=lib/} |
7 | EXTRACT_SUFX= .tar.bz2 | | 6 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 7 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://xorg.freedesktop.org/ | | 9 | HOMEPAGE= http://xorg.freedesktop.org/ |
11 | COMMENT= Library of low-level pixel manipulation routines | | 10 | COMMENT= Library of low-level pixel manipulation routines |
| | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 14 | |
15 | GNU_CONFIGURE= yes | | 15 | GNU_CONFIGURE= yes |
16 | USE_LIBTOOL= yes | | 16 | USE_LIBTOOL= yes |
17 | USE_TOOLS+= pkg-config perl | | 17 | USE_TOOLS+= pkg-config perl |
18 | ### | | 18 | ### |
19 | ### XXX Quiet, please! | | 19 | ### XXX Quiet, please! |
20 | ### | | 20 | ### |
21 | .if empty(USE_TOOLS:Mauto*) | | 21 | .if empty(USE_TOOLS:Mauto*) |
22 | CONFIGURE_ENV+= AUTOCONF=${TRUE:Q} | | 22 | CONFIGURE_ENV+= AUTOCONF=${TRUE:Q} |
23 | CONFIGURE_ENV+= AUTOHEADER=${TRUE:Q} | | 23 | CONFIGURE_ENV+= AUTOHEADER=${TRUE:Q} |
24 | CONFIGURE_ENV+= ACLOCAL=${TRUE:Q} | | 24 | CONFIGURE_ENV+= ACLOCAL=${TRUE:Q} |
| @@ -32,14 +32,25 @@ PKGCONFIG_OVERRIDE+= pixman-1-uninstalle | | | @@ -32,14 +32,25 @@ PKGCONFIG_OVERRIDE+= pixman-1-uninstalle |
32 | ### for lack of -fvisibility=hidden. In keeping with the pkgsrc | | 32 | ### for lack of -fvisibility=hidden. In keeping with the pkgsrc |
33 | ### tradition of portability, we'll opt to use libtool to export | | 33 | ### tradition of portability, we'll opt to use libtool to export |
34 | ### the desired symbols, hiding the rest. | | 34 | ### the desired symbols, hiding the rest. |
35 | ### | | 35 | ### |
36 | ### Please, do not forget to ensure the currency of this file! | | 36 | ### Please, do not forget to ensure the currency of this file! |
37 | | | 37 | |
38 | MAKE_ENV+= PIXMAN_SYMFILE=${PIXMAN_SYMFILE:Q} | | 38 | MAKE_ENV+= PIXMAN_SYMFILE=${PIXMAN_SYMFILE:Q} |
39 | PIXMAN_SYMFILE= ${WRKDIR}/pixman.sym | | 39 | PIXMAN_SYMFILE= ${WRKDIR}/pixman.sym |
40 | | | 40 | |
41 | post-extract: | | 41 | post-extract: |
42 | ${CP} ${FILESDIR}/pixman.sym ${WRKDIR} | | 42 | ${CP} ${FILESDIR}/pixman.sym ${WRKDIR} |
43 | ${CP} ${FILESDIR}/solaris-hwcap.mapfile ${WRKSRC}/pixman | | 43 | ${CP} ${FILESDIR}/solaris-hwcap.mapfile ${WRKSRC}/pixman |
44 | | | 44 | |
| | | 45 | .include "../../mk/bsd.prefs.mk" |
| | | 46 | |
| | | 47 | # Link the tests with the static library under Mac OS X as we cannot use |
| | | 48 | # the shared library out of the build area. |
| | | 49 | .if ${OPSYS} == "Darwin" |
| | | 50 | SUBST_CLASSES+= pixmantests |
| | | 51 | SUBST_STAGE.pixmantests= post-configure |
| | | 52 | SUBST_FILES.pixmantests= test/Makefile |
| | | 53 | SUBST_SED.pixmantests= -e 's@libpixman-1\.la@\.libs/libpixman-1\.a@' |
| | | 54 | .endif |
| | | 55 | |
45 | .include "../../mk/bsd.pkg.mk" | | 56 | .include "../../mk/bsd.pkg.mk" |