| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.97 2012/02/24 10:40:49 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.98 2012/04/08 17:21:13 bsiegert Exp $ |
2 | | | 2 | |
3 | DISTNAME= cairo-1.10.2 | | 3 | DISTNAME= cairo-1.10.2 |
4 | PKGREVISION= 4 | | 4 | PKGREVISION= 4 |
5 | CATEGORIES= graphics | | 5 | CATEGORIES= graphics |
6 | MASTER_SITES= http://cairographics.org/releases/ | | 6 | MASTER_SITES= http://cairographics.org/releases/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://cairographics.org/ | | 9 | HOMEPAGE= http://cairographics.org/ |
10 | COMMENT= Vector graphics library with cross-device output support | | 10 | COMMENT= Vector graphics library with cross-device output support |
11 | LICENSE= gnu-lgpl-v2.1 AND mpl-1.1 | | 11 | LICENSE= gnu-lgpl-v2.1 AND mpl-1.1 |
12 | | | 12 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 14 | |
| @@ -36,24 +36,29 @@ PLIST.carbon= yes | | | @@ -36,24 +36,29 @@ PLIST.carbon= yes |
36 | .include "options.mk" | | 36 | .include "options.mk" |
37 | | | 37 | |
38 | # For snprintf() and ctime_r() | | 38 | # For snprintf() and ctime_r() |
39 | CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS | | 39 | CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS |
40 | | | 40 | |
41 | TEST_TARGET= check | | 41 | TEST_TARGET= check |
42 | | | 42 | |
43 | # PR#43928 | | 43 | # PR#43928 |
44 | .include "../../mk/compiler.mk" | | 44 | .include "../../mk/compiler.mk" |
45 | .if ${MACHINE_PLATFORM:MDragonFly-*-x86_64} && ${CC_VERSION:Mgcc-4.1.*} | | 45 | .if ${MACHINE_PLATFORM:MDragonFly-*-x86_64} && ${CC_VERSION:Mgcc-4.1.*} |
46 | CONFIGURE_ENV+= ac_cv_type___uint128_t=no | | 46 | CONFIGURE_ENV+= ac_cv_type___uint128_t=no |
47 | .endif | | 47 | .endif |
48 | | | 48 | |
| | | 49 | # Workaround so that pthread is found on MirBSD |
| | | 50 | .if ${OPSYS} == "MirBSD" |
| | | 51 | CONFIGURE_ENV+= PTHREAD_CFLAGS=${CFLAGS:Q} |
| | | 52 | .endif |
| | | 53 | |
49 | .include "../../devel/zlib/buildlink3.mk" | | 54 | .include "../../devel/zlib/buildlink3.mk" |
50 | .include "../../fonts/fontconfig/buildlink3.mk" | | 55 | .include "../../fonts/fontconfig/buildlink3.mk" |
51 | BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.9 | | 56 | BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.9 |
52 | .include "../../graphics/freetype2/buildlink3.mk" | | 57 | .include "../../graphics/freetype2/buildlink3.mk" |
53 | .include "../../graphics/png/buildlink3.mk" | | 58 | .include "../../graphics/png/buildlink3.mk" |
54 | # include? | | 59 | # include? |
55 | #.include "../../print/libspectre/buildlink3.mk" | | 60 | #.include "../../print/libspectre/buildlink3.mk" |
56 | .include "../../x11/pixman/buildlink3.mk" | | 61 | .include "../../x11/pixman/buildlink3.mk" |
57 | | | 62 | |
58 | .include "../../mk/pthread.buildlink3.mk" | | 63 | .include "../../mk/pthread.buildlink3.mk" |
59 | .include "../../mk/bsd.pkg.mk" | | 64 | .include "../../mk/bsd.pkg.mk" |