| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.common,v 1.148 2023/06/28 20:04:12 wiz Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.149 2023/06/29 06:05:02 wiz Exp $ |
2 | # | | 2 | # |
3 | # used by print/poppler/Makefile | | 3 | # used by print/poppler/Makefile |
4 | # used by print/poppler-cpp/Makefile | | 4 | # used by print/poppler-cpp/Makefile |
5 | # used by print/poppler-glib/Makefile | | 5 | # used by print/poppler-glib/Makefile |
6 | # used by print/poppler-includes/Makefile | | 6 | # used by print/poppler-includes/Makefile |
7 | # used by print/poppler-qt5/Makefile | | 7 | # used by print/poppler-qt5/Makefile |
8 | # used by print/poppler-qt6/Makefile | | 8 | # used by print/poppler-qt6/Makefile |
9 | # used by print/poppler-utils/Makefile | | 9 | # used by print/poppler-utils/Makefile |
10 | | | 10 | |
11 | POPPLER_VERS= 23.06.0 | | 11 | POPPLER_VERS= 23.06.0 |
12 | DISTNAME= poppler-${POPPLER_VERS} | | 12 | DISTNAME= poppler-${POPPLER_VERS} |
13 | CATEGORIES= print | | 13 | CATEGORIES= print |
14 | MASTER_SITES= https://poppler.freedesktop.org/ | | 14 | MASTER_SITES= https://poppler.freedesktop.org/ |
| @@ -16,26 +16,29 @@ EXTRACT_SUFX= .tar.xz | | | @@ -16,26 +16,29 @@ EXTRACT_SUFX= .tar.xz |
16 | | | 16 | |
17 | MAINTAINER= reed@reedmedia.net | | 17 | MAINTAINER= reed@reedmedia.net |
18 | HOMEPAGE= https://poppler.freedesktop.org/ | | 18 | HOMEPAGE= https://poppler.freedesktop.org/ |
19 | LICENSE= gnu-gpl-v2 | | 19 | LICENSE= gnu-gpl-v2 |
20 | | | 20 | |
21 | DISTINFO_FILE= ${.CURDIR}/../../print/poppler/distinfo | | 21 | DISTINFO_FILE= ${.CURDIR}/../../print/poppler/distinfo |
22 | #PATCHDIR= ${.CURDIR}/../../print/poppler/patches | | 22 | #PATCHDIR= ${.CURDIR}/../../print/poppler/patches |
23 | | | 23 | |
24 | USE_CMAKE= yes | | 24 | USE_CMAKE= yes |
25 | USE_LANGUAGES= c c++17 | | 25 | USE_LANGUAGES= c c++17 |
26 | USE_TOOLS+= pkg-config gsed | | 26 | USE_TOOLS+= pkg-config gsed |
27 | GCC_REQD+= 8 # std::optional | | 27 | GCC_REQD+= 8 # std::optional |
28 | | | 28 | |
| | | 29 | # Don't compile gpgme crypto backend |
| | | 30 | CMAKE_ARGS+= -DWITH_Gpgmepp:BOOL=OFF |
| | | 31 | |
29 | .include "../../mk/bsd.prefs.mk" | | 32 | .include "../../mk/bsd.prefs.mk" |
30 | | | 33 | |
31 | # This package will link against libstdc++.so from the pkgsrc GCC when the | | 34 | # This package will link against libstdc++.so from the pkgsrc GCC when the |
32 | # base OS GCC doesn't meet the minimum requirement. Thus we do this so the | | 35 | # base OS GCC doesn't meet the minimum requirement. Thus we do this so the |
33 | # appropriate gcc-libs package will be captured as a dependency, otherwise | | 36 | # appropriate gcc-libs package will be captured as a dependency, otherwise |
34 | # binary packages will be broken. | | 37 | # binary packages will be broken. |
35 | .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 090000 | | 38 | .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 090000 |
36 | USE_PKGSRC_GCC= yes | | 39 | USE_PKGSRC_GCC= yes |
37 | USE_PKGSRC_GCC_RUNTIME= yes | | 40 | USE_PKGSRC_GCC_RUNTIME= yes |
38 | .endif | | 41 | .endif |
39 | | | 42 | |
40 | .include "../../mk/compiler.mk" | | 43 | .include "../../mk/compiler.mk" |
41 | .if !empty(PKGSRC_COMPILER:Mclang) | | 44 | .if !empty(PKGSRC_COMPILER:Mclang) |