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