summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2019-09-20 19:23:17 +0000
committerbsiegert <bsiegert@pkgsrc.org>2019-09-20 19:23:17 +0000
commita670ca97dcf9337db74f4b86bf734e4ee4d1ad55 (patch)
treece584c2cb6f4a12919764e94dacfaad4fac5ccc6
parent254cbec05ba94abfb173fdfa02a3552f9fe3cdad (diff)
downloadpkgsrc-a670ca97dcf9337db74f4b86bf734e4ee4d1ad55.tar.gz
Pullup ticket #6055 - requested by maya
security/gpgme: build fix Revisions pulled up: - security/gpgme/Makefile 1.95 --- Module Name: pkgsrc Committed By: maya Date: Mon Sep 9 11:19:33 UTC 2019 Modified Files: pkgsrc/security/gpgme: Makefile Log Message: gpgme: fix for older GCC. Remove unrecognized flag (GCC 4.8.5), default to -std=gnu99, since we have loop initial declarations. tested on SmartOS and CentOS 7.
-rw-r--r--security/gpgme/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index 31db4252803..b3e7d5573b1 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.93 2019/05/23 19:23:14 rillig Exp $
+# $NetBSD: Makefile,v 1.93.2.1 2019/09/20 19:23:17 bsiegert Exp $
DISTNAME= gpgme-1.13.0
CATEGORIES= security
@@ -10,7 +10,7 @@ HOMEPAGE= http://www.gnupg.org/related_software/gpgme/
COMMENT= GnuPG Made Easy
LICENSE= gnu-gpl-v2
-USE_LANGUAGES+= c c++
+USE_LANGUAGES+= c99 c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
@@ -26,6 +26,8 @@ SUBST_STAGE.pthread= pre-configure
CPPFLAGS.Darwin= -D_POSIX_C_SOURCE=200809L
LIBS.SunOS+= -lnsl -lsocket
+BUILDLINK_TRANSFORM+= rm:-Wsuggest-override
+
TEST_TARGET= check
.include "options.mk"