From 3154506d0728d7ff39b66e4df04a8ad58b9060cd Mon Sep 17 00:00:00 2001 From: simonb Date: Fri, 30 Apr 1999 01:47:57 +0000 Subject: If on a mips*-*-netbsd* arch, add "-Wa,-KPIC" to CFLAGS to generate MIPS ABI code. Fixes PR pkg/7467 from Jason Thorpe. --- security/ssh/patches/patch-ap | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 security/ssh/patches/patch-ap (limited to 'security/ssh/patches') diff --git a/security/ssh/patches/patch-ap b/security/ssh/patches/patch-ap new file mode 100644 index 00000000000..0d509cedad1 --- /dev/null +++ b/security/ssh/patches/patch-ap @@ -0,0 +1,26 @@ +--- gmp-2.0.2-ssh-2/configure.in.orig Mon Apr 26 19:50:09 1999 ++++ gmp-2.0.2-ssh-2/configure.in Mon Apr 26 20:06:07 1999 +@@ -222,6 +222,10 @@ + sh2-*-*) + path="sh/sh2 sh" + ;; ++ mips*-*-netbsd*) ++ path="mips2" ++ SFLAGS="-Wa,-KPIC" ++ ;; + mips[34]*-*-*) + path="mips3" + ;; +--- gmp-2.0.2-ssh-2/configure.orig Thu Jul 9 02:40:44 1998 ++++ gmp-2.0.2-ssh-2/configure Mon Apr 26 20:06:12 1999 +@@ -1955,6 +1955,10 @@ + sh2-*-*) + path="sh/sh2 sh" + ;; ++ mips*-*-netbsd*) ++ path="mips2" ++ SFLAGS="-Wa,-KPIC" ++ ;; + mips[34]*-*-*) + path="mips3" + ;; -- cgit v1.2.3