aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2016-11-20 21:40:22 +0800
committernovel <novel@FreeBSD.org>2016-11-20 21:40:22 +0800
commit28e783429061428f3c4a7ee75881c43b6d9387a0 (patch)
tree85338334fcbbfab8a9fdf46ef625e98bbdb57aa4
parent49f0244efe31a91ecae30f64c907e6e451f71029 (diff)
downloadfreebsd-ports-gnome-28e783429061428f3c4a7ee75881c43b6d9387a0.tar.gz
freebsd-ports-gnome-28e783429061428f3c4a7ee75881c43b6d9387a0.tar.zst
freebsd-ports-gnome-28e783429061428f3c4a7ee75881c43b6d9387a0.zip
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
-rw-r--r--security/gnupg/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index a90a286d0206..84511f15ee24 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -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.