summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/gnupg1/Makefile3
-rw-r--r--security/gnupg1/files/patch-config.links9
2 files changed, 12 insertions, 0 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index d9c5cbe0f55a..ae9a96fc8cf0 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -23,6 +23,9 @@ GNU_CONFIGURE= YES
MACHINE_ARCH= i586
.endif
CFLAGS:= ${CFLAGS:S/-pipe//g}
+.if ${CC} == "clang"
+CFLAGS:= ${CFLAGS:S/$/ -std=c89/}
+.endif
MAN1= gpg.1 gpgv.1 gpg.ru.1 gpg-zip.1
MAN7= gnupg.7
INFO= gnupg1
diff --git a/security/gnupg1/files/patch-config.links b/security/gnupg1/files/patch-config.links
index d5ab5b9dbb7e..7b59e4da6aa5 100644
--- a/security/gnupg1/files/patch-config.links
+++ b/security/gnupg1/files/patch-config.links
@@ -1,5 +1,14 @@
--- mpi/config.links.orig Thu Apr 24 20:15:58 2003
+++ mpi/config.links Sat May 10 16:29:28 2003
+@@ -40,7 +40,7 @@
+ ;;
+ i[3467]86*-*-openbsd* | \
+ i[3467]86*-*-freebsd*-elf | \
+- i[3467]86*-*-freebsd[3-9]* | \
++ i[3467]86*-*-freebsd[1-9]* | \
+ i[3467]86*-*-freebsdelf* | \
+ i[3467]86*-*-netbsd* | \
+ i[3467]86*-*-k*bsd*)
@@ -142,6 +142,12 @@
echo '/* configured for sparc64-*netbsd */' >>./mpi/asm-syntax.h
path=""