| @@ -1,16 +1,17 @@ | | | @@ -1,16 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.41 2011/07/11 19:19:42 tron Exp $ | | 1 | # $NetBSD: Makefile,v 1.42 2011/07/12 13:28:31 tron Exp $ |
2 | | | 2 | |
3 | DISTNAME= pixman-0.22.2 | | 3 | DISTNAME= pixman-0.22.2 |
| | | 4 | PKGREVISION= 1 |
4 | CATEGORIES= x11 | | 5 | CATEGORIES= x11 |
5 | MASTER_SITES= ${MASTER_SITE_XORG:=lib/} | | 6 | MASTER_SITES= ${MASTER_SITE_XORG:=lib/} |
6 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
7 | | | 8 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://xorg.freedesktop.org/ | | 10 | HOMEPAGE= http://xorg.freedesktop.org/ |
10 | COMMENT= Library of low-level pixel manipulation routines | | 11 | COMMENT= Library of low-level pixel manipulation routines |
11 | LICENSE= mit | | 12 | LICENSE= mit |
12 | | | 13 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 15 | |
15 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
16 | USE_LIBTOOL= yes | | 17 | USE_LIBTOOL= yes |
| @@ -34,23 +35,25 @@ PKGCONFIG_OVERRIDE+= pixman-1-uninstalle | | | @@ -34,23 +35,25 @@ PKGCONFIG_OVERRIDE+= pixman-1-uninstalle |
34 | ### the desired symbols, hiding the rest. | | 35 | ### the desired symbols, hiding the rest. |
35 | ### | | 36 | ### |
36 | ### Please, do not forget to ensure the currency of this file! | | 37 | ### Please, do not forget to ensure the currency of this file! |
37 | | | 38 | |
38 | MAKE_ENV+= PIXMAN_SYMFILE=${PIXMAN_SYMFILE:Q} | | 39 | MAKE_ENV+= PIXMAN_SYMFILE=${PIXMAN_SYMFILE:Q} |
39 | PIXMAN_SYMFILE= ${WRKDIR}/pixman.sym | | 40 | PIXMAN_SYMFILE= ${WRKDIR}/pixman.sym |
40 | | | 41 | |
41 | post-extract: | | 42 | post-extract: |
42 | ${CP} ${FILESDIR}/pixman.sym ${WRKDIR} | | 43 | ${CP} ${FILESDIR}/pixman.sym ${WRKDIR} |
43 | ${CP} ${FILESDIR}/solaris-hwcap.mapfile ${WRKSRC}/pixman | | 44 | ${CP} ${FILESDIR}/solaris-hwcap.mapfile ${WRKSRC}/pixman |
44 | | | 45 | |
45 | .include "../../mk/bsd.prefs.mk" | | 46 | .include "../../mk/bsd.prefs.mk" |
46 | | | 47 | |
| | | 48 | .if !empty(MACHINE_PLATFORM:NetBSD-*-x86_64) |
| | | 49 | CONFIGURE_ARGS+= --disable-sse2 |
47 | # Link the tests with the static library under Mac OS X as we cannot use | | 50 | # Link the tests with the static library under Mac OS X as we cannot use |
48 | # the shared library out of the build area. | | 51 | # the shared library out of the build area. |
49 | .if ${OPSYS} == "Darwin" | | 52 | .elif ${OPSYS} == "Darwin" |
50 | SUBST_CLASSES+= pixmantests | | 53 | SUBST_CLASSES+= pixmantests |
51 | SUBST_STAGE.pixmantests= post-configure | | 54 | SUBST_STAGE.pixmantests= post-configure |
52 | SUBST_FILES.pixmantests= test/Makefile | | 55 | SUBST_FILES.pixmantests= test/Makefile |
53 | SUBST_SED.pixmantests= -e 's@libpixman-1\.la@\.libs/libpixman-1\.a@' | | 56 | SUBST_SED.pixmantests= -e 's@libpixman-1\.la@\.libs/libpixman-1\.a@' |
54 | .endif | | 57 | .endif |
55 | | | 58 | |
56 | .include "../../mk/bsd.pkg.mk" | | 59 | .include "../../mk/bsd.pkg.mk" |