| @@ -1,36 +1,47 @@ | | | @@ -1,36 +1,47 @@ |
1 | # $NetBSD: Makefile,v 1.50 2022/04/10 22:14:50 gutteridge Exp $ | | 1 | # $NetBSD: Makefile,v 1.51 2022/04/13 01:24:33 gutteridge Exp $ |
2 | | | 2 | |
3 | DISTNAME= vte-0.68.0 | | 3 | DISTNAME= vte-0.68.0 |
4 | PKGNAME= ${DISTNAME:S/vte/vte3/} | | 4 | PKGNAME= ${DISTNAME:S/vte/vte3/} |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 3 |
6 | CATEGORIES= x11 | | 6 | CATEGORIES= x11 |
7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=GNOME/} | | 7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=GNOME/} |
8 | GITHUB_PROJECT= vte | | 8 | GITHUB_PROJECT= vte |
9 | GITHUB_TAG= ${PKGVERSION_NOREV} | | 9 | GITHUB_TAG= ${PKGVERSION_NOREV} |
10 | | | 10 | |
11 | MAINTAINER= pkgsrc-users@NetBSD.org | | 11 | MAINTAINER= pkgsrc-users@NetBSD.org |
12 | HOMEPAGE= https://www.gnome.org/ | | 12 | HOMEPAGE= https://www.gnome.org/ |
13 | COMMENT= Terminal widget with improved accessibility and I18N support | | 13 | COMMENT= Terminal widget with improved accessibility and I18N support |
14 | LICENSE= gnu-lgpl-v2 | | 14 | LICENSE= gnu-lgpl-v2 |
15 | | | 15 | |
16 | PKGCONFIG_OVERRIDE_STAGE= post-configure | | 16 | PKGCONFIG_OVERRIDE_STAGE= post-configure |
17 | PKGCONFIG_OVERRIDE+= output/meson-private/vte-2.91.pc | | 17 | PKGCONFIG_OVERRIDE+= output/meson-private/vte-2.91.pc |
18 | | | 18 | |
19 | USE_TOOLS+= msgfmt pkg-config bash | | 19 | USE_TOOLS+= msgfmt pkg-config bash |
20 | USE_LANGUAGES= c c++20 | | 20 | USE_LANGUAGES= c c++20 |
21 | # for c++20 | | 21 | # for c++20 |
22 | GCC_REQD+= 10 | | 22 | GCC_REQD+= 10 |
23 | | | 23 | |
| | | 24 | .include "../../mk/bsd.prefs.mk" |
| | | 25 | |
| | | 26 | # This package will link against libstdc++.so from the pkgsrc GCC when the |
| | | 27 | # base OS GCC doesn't meet the minimum requirement. Thus we do this so the |
| | | 28 | # appropriate gcc-libs package will be captured as a dependency, otherwise |
| | | 29 | # binary packages will be broken. |
| | | 30 | .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099982 |
| | | 31 | USE_PKGSRC_GCC= yes |
| | | 32 | USE_PKGSRC_GCC_RUNTIME= yes |
| | | 33 | .endif |
| | | 34 | |
24 | # Otherwise, this will fail on Linux distributions that don't | | 35 | # Otherwise, this will fail on Linux distributions that don't |
25 | # have libsystemd. | | 36 | # have libsystemd. |
26 | MESON_ARGS+= -D_systemd=false | | 37 | MESON_ARGS+= -D_systemd=false |
27 | | | 38 | |
28 | CONF_FILES+= ${PREFIX}/share/examples/profile.d/vte.sh \ | | 39 | CONF_FILES+= ${PREFIX}/share/examples/profile.d/vte.sh \ |
29 | ${PKG_SYSCONFDIR}/profile.d/vte.sh | | 40 | ${PKG_SYSCONFDIR}/profile.d/vte.sh |
30 | | | 41 | |
31 | CONF_FILES+= ${PREFIX}/share/examples/profile.d/vte.csh \ | | 42 | CONF_FILES+= ${PREFIX}/share/examples/profile.d/vte.csh \ |
32 | ${PKG_SYSCONFDIR}/profile.d/vte.csh | | 43 | ${PKG_SYSCONFDIR}/profile.d/vte.csh |
33 | | | 44 | |
34 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/profile.d | | 45 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/profile.d |
35 | | | 46 | |
36 | PYTHON_FOR_BUILD_ONLY= tool | | 47 | PYTHON_FOR_BUILD_ONLY= tool |