security/gnupg: fix build on 9.x

gnupg fails to build on 9.x with:

  mime-parser.h:53: error: redefinition of typedef 'rfc822parse_t'
  rfc822parse.h:23: error: previous declaration of 'rfc822parse_t' was here

Add compiler:c11 to USES to fix that.

Reported by:	antoine
This commit is contained in:
Roman Bogorodskiy 2016-11-20 13:40:22 +00:00
parent b8dff68f05
commit 9ebb43a4a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426589

View File

@ -26,7 +26,7 @@ BUILD_DEPENDS= libassuan>=2.4.3:security/libassuan \
RUN_DEPENDS= pinentry>0:security/pinentry
GNU_CONFIGURE= YES
USES= cpe gmake iconv pkgconfig sqlite tar:bzip2
USES= compiler:c11 cpe gmake iconv pkgconfig sqlite tar:bzip2
USE_LDCONFIG= YES
# libreadline.so.8 is placed in /lib, but --with-readline argument
# will be treated as $value/lib, so try using /usr instead.