diff options
author | maya <maya@pkgsrc.org> | 2019-09-09 11:19:33 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2019-09-09 11:19:33 +0000 |
commit | 0f9cb96a3ca7f430df39b189f93d921688405946 (patch) | |
tree | 25db071b0335edd5dae139d4333838fdd0e238f2 /security/gpgme | |
parent | 06abbe38ffdaf627e6e271a3258ede12c2ced68c (diff) | |
download | pkgsrc-0f9cb96a3ca7f430df39b189f93d921688405946.tar.gz |
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.
Diffstat (limited to 'security/gpgme')
-rw-r--r-- | security/gpgme/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile index 5f47477b55a..f08e93c6c31 100644 --- a/security/gpgme/Makefile +++ b/security/gpgme/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.94 2019/07/03 20:29:54 adam Exp $ +# $NetBSD: Makefile,v 1.95 2019/09/09 11:19:33 maya Exp $ DISTNAME= gpgme-1.13.1 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" |