summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2021-01-22 18:11:39 +0000
committerbsiegert <bsiegert@pkgsrc.org>2021-01-22 18:11:39 +0000
commit246f9a47b5a5655cef06961bc3705f13237df2db (patch)
tree9344d1c3e47861ce2e4d5970a7ed66bdc95cceb6
parenta111f776529254b79935056ce4fa44eb82ef4198 (diff)
downloadpkgsrc-246f9a47b5a5655cef06961bc3705f13237df2db.tar.gz
Pullup ticket #6406 - requested by nia
security/polkit: build fix Revisions pulled up: - security/polkit/Makefile 1.31 - security/polkit/buildlink3.mk 1.5 --- Module Name: pkgsrc Committed By: nia Date: Tue Jan 19 22:36:19 UTC 2021 Modified Files: pkgsrc/security/polkit: Makefile buildlink3.mk Log Message: polkit: build fix: bump GCC requirement
-rw-r--r--security/polkit/Makefile6
-rw-r--r--security/polkit/buildlink3.mk5
2 files changed, 7 insertions, 4 deletions
diff --git a/security/polkit/Makefile b/security/polkit/Makefile
index 7205e961345..31c00c48b71 100644
--- a/security/polkit/Makefile
+++ b/security/polkit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2020/12/04 04:56:13 riastradh Exp $
+# $NetBSD: Makefile,v 1.30.2.1 2021/01/22 18:11:39 bsiegert Exp $
DISTNAME= polkit-0.118
PKGREVISION= 1
@@ -22,8 +22,8 @@ USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config intltool gmake msgfmt perl
-# C++14
-GCC_REQD+= 5
+# configure: error: *** A compiler with support for C++17 language features is required.
+GCC_REQD+= 7
PKGCONFIG_OVERRIDE+= data/polkit-gobject-1.pc.in
PKGCONFIG_OVERRIDE+= data/polkit-agent-1.pc.in
diff --git a/security/polkit/buildlink3.mk b/security/polkit/buildlink3.mk
index 92d1b0a42a7..f401b583e09 100644
--- a/security/polkit/buildlink3.mk
+++ b/security/polkit/buildlink3.mk
@@ -1,9 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.4 2020/12/04 04:56:13 riastradh Exp $
+# $NetBSD: buildlink3.mk,v 1.4.2.1 2021/01/22 18:11:39 bsiegert Exp $
#
BUILDLINK_TREE+= polkit
.if !defined(POLKIT_BUILDLINK3_MK)
+# configure: error: *** A compiler with support for C++17 language features is required.
+GCC_REQD+= 7
+
POLKIT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.polkit+= polkit>=0.103