pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [pkgsrc-2022Q1] pkgsrc/print/poppler
Module Name: pkgsrc
Committed By: spz
Date: Sun Jun 5 08:24:08 UTC 2022
Modified Files:
pkgsrc/print/poppler [pkgsrc-2022Q1]: Makefile.common buildlink3.mk
Log Message:
Pullup ticket #6639 - requested by nia
print/poppler: build fix
Revisions pulled up:
- print/poppler/Makefile.common 1.134
- print/poppler/buildlink3.mk 1.90
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: nia
Date: Sat May 21 07:43:57 UTC 2022
Modified Files:
pkgsrc/print/poppler: Makefile.common buildlink3.mk
Log Message:
poppler: Bump GCC requirement to GCC 7, it wants std::optional.
To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 pkgsrc/print/poppler/Makefile.common
cvs rdiff -u -r1.89 -r1.90 pkgsrc/print/poppler/buildlink3.mk
To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.132.2.1 pkgsrc/print/poppler/Makefile.common
cvs rdiff -u -r1.88 -r1.88.4.1 pkgsrc/print/poppler/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/print/poppler/Makefile.common
diff -u pkgsrc/print/poppler/Makefile.common:1.132 pkgsrc/print/poppler/Makefile.common:1.132.2.1
--- pkgsrc/print/poppler/Makefile.common:1.132 Tue Mar 8 10:09:22 2022
+++ pkgsrc/print/poppler/Makefile.common Sun Jun 5 08:24:08 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.132 2022/03/08 10:09:22 wiz Exp $
+# $NetBSD: Makefile.common,v 1.132.2.1 2022/06/05 08:24:08 spz Exp $
#
# used by print/poppler/Makefile
# used by print/poppler-cpp/Makefile
@@ -23,7 +23,18 @@ PATCHDIR= ${.CURDIR}/../../print/poppler
USE_CMAKE= yes
USE_LANGUAGES= c c++17
USE_TOOLS+= pkg-config
-GCC_REQD+= 5
+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)
Index: pkgsrc/print/poppler/buildlink3.mk
diff -u pkgsrc/print/poppler/buildlink3.mk:1.88 pkgsrc/print/poppler/buildlink3.mk:1.88.4.1
--- pkgsrc/print/poppler/buildlink3.mk:1.88 Wed Sep 29 10:10:30 2021
+++ pkgsrc/print/poppler/buildlink3.mk Sun Jun 5 08:24:08 2022
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.88 2021/09/29 10:10:30 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.88.4.1 2022/06/05 08:24:08 spz Exp $
BUILDLINK_TREE+= poppler
@@ -9,7 +9,7 @@ BUILDLINK_API_DEPENDS.poppler+= poppler>
BUILDLINK_ABI_DEPENDS.poppler+= poppler>=21.09.0
BUILDLINK_PKGSRCDIR.poppler?= ../../print/poppler
-GCC_REQD+= 5
+GCC_REQD+= 7
.include "../../devel/nss/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index