pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/poppler



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

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.133 pkgsrc/print/poppler/Makefile.common:1.134
--- pkgsrc/print/poppler/Makefile.common:1.133  Wed May  4 06:33:40 2022
+++ pkgsrc/print/poppler/Makefile.common        Sat May 21 07:43:57 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.133 2022/05/04 06:33:40 wiz Exp $
+# $NetBSD: Makefile.common,v 1.134 2022/05/21 07:43:57 nia 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.89 pkgsrc/print/poppler/buildlink3.mk:1.90
--- pkgsrc/print/poppler/buildlink3.mk:1.89     Wed May  4 21:05:41 2022
+++ pkgsrc/print/poppler/buildlink3.mk  Sat May 21 07:43:57 2022
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.89 2022/05/04 21:05:41 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.90 2022/05/21 07:43:57 nia Exp $
 
 BUILDLINK_TREE+=       poppler
 
@@ -9,7 +9,7 @@ BUILDLINK_API_DEPENDS.poppler+= poppler>
 BUILDLINK_ABI_DEPENDS.poppler+=        poppler>=22.04.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