| @@ -1,27 +1,27 @@ | | | @@ -1,27 +1,27 @@ |
1 | # $NetBSD: Makefile,v 1.157 2023/11/17 08:16:40 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.158 2023/11/17 08:17:04 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= cairo-1.18.0 | | 3 | DISTNAME= cairo-1.18.0 |
4 | CATEGORIES= graphics | | 4 | CATEGORIES= graphics |
5 | MASTER_SITES= https://cairographics.org/releases/ | | 5 | MASTER_SITES= https://cairographics.org/releases/ |
6 | EXTRACT_SUFX= .tar.xz | | 6 | EXTRACT_SUFX= .tar.xz |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://cairographics.org/ | | 9 | HOMEPAGE= https://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 | # error: 'for' loop initial declarations are only allowed in C99 mode | | 13 | # error: 'for' loop initial declarations are only allowed in C99 mode |
14 | FORCE_C_STD= c99 | | 14 | FORCE_C_STD= gnu99 |
15 | USE_LANGUAGES= c c++ | | 15 | USE_LANGUAGES= c c++ |
16 | USE_TOOLS+= pkg-config | | 16 | USE_TOOLS+= pkg-config |
17 | | | 17 | |
18 | # For snprintf() and ctime_r() | | 18 | # For snprintf() and ctime_r() |
19 | CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS | | 19 | CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS |
20 | | | 20 | |
21 | PKGCONFIG_OVERRIDE_STAGE= post-build | | 21 | PKGCONFIG_OVERRIDE_STAGE= post-build |
22 | PKGCONFIG_OVERRIDE+= output/meson-private/*.pc | | 22 | PKGCONFIG_OVERRIDE+= output/meson-private/*.pc |
23 | | | 23 | |
24 | SUPERSEDES+= cairo-gobject-[0-9]* | | 24 | SUPERSEDES+= cairo-gobject-[0-9]* |
25 | | | 25 | |
26 | .include "options.mk" | | 26 | .include "options.mk" |
27 | | | 27 | |