Modified: trunk/dports/mail/gnupg/Portfile (79865 => 79866)
--- trunk/dports/mail/gnupg/Portfile 2011-06-28 19:34:32 UTC (rev 79865)
+++ trunk/dports/mail/gnupg/Portfile 2011-06-28 21:11:21 UTC (rev 79866)
@@ -42,6 +42,11 @@
test.dir ${worksrcpath}/checks
test.target check
+# clang defaults to c99, and gnupg doesn't play nicely
+if {${configure.compiler} == "clang"} {
+ configure.cflags-append -std=gnu89
+}
+
variant idea description {Add support for the patented IDEA algorithm} {
patch_sites-append http://www.gnupg.dk/contrib-dk
patchfiles idea.c.gz