summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>1999-04-30 01:47:57 +0000
committersimonb <simonb@pkgsrc.org>1999-04-30 01:47:57 +0000
commit458a7f7428b53b6be982283df0d74ff23a129aae (patch)
tree3bbb36d94929af1f33b52ad2886d7f3ef332a72f /security
parent75fb60a54ef0d83534d00e4cebd03abe09ba75fe (diff)
downloadpkgsrc-458a7f7428b53b6be982283df0d74ff23a129aae.tar.gz
If on a mips*-*-netbsd* arch, add "-Wa,-KPIC" to CFLAGS to generate
MIPS ABI code. Fixes PR pkg/7467 from Jason Thorpe.
Diffstat (limited to 'security')
-rw-r--r--security/ssh/patches/patch-ap26
1 files changed, 26 insertions, 0 deletions
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"
+ ;;