summaryrefslogtreecommitdiff
path: root/security/nettle/patches
diff options
context:
space:
mode:
authormartin <martin>2013-11-26 09:22:19 +0000
committermartin <martin>2013-11-26 09:22:19 +0000
commit01bf1997e9780c80a6167988968ae55265c6797f (patch)
tree11da507ab8acf6a2ebda482de60214e7759660cf /security/nettle/patches
parenta4f40103e10cd27a404ac6fbefc74e9dfa9df071 (diff)
downloadpkgsrc-01bf1997e9780c80a6167988968ae55265c6797f.tar.gz
Make it use -fPIC on NetBSD (does not build on at least sparc64 otherwise).
Bump rev.
Diffstat (limited to 'security/nettle/patches')
-rw-r--r--security/nettle/patches/patch-aa16
1 files changed, 12 insertions, 4 deletions
diff --git a/security/nettle/patches/patch-aa b/security/nettle/patches/patch-aa
index 17f18a8d97d..97e66f3c853 100644
--- a/security/nettle/patches/patch-aa
+++ b/security/nettle/patches/patch-aa
@@ -1,8 +1,16 @@
-$NetBSD: patch-aa,v 1.2 2013/04/29 16:42:25 adam Exp $
+$NetBSD: patch-aa,v 1.3 2013/11/26 09:22:19 martin Exp $
---- configure.orig 2013-04-24 13:26:53.000000000 +0000
-+++ configure
-@@ -7183,7 +7183,7 @@ fi
+--- configure.orig 2013-05-28 16:21:53.000000000 +0200
++++ configure 2013-11-26 10:12:32.000000000 +0100
+@@ -4903,6 +4903,7 @@
+ solaris*) CCPIC="-fPIC" ;;
+ cygwin*) CCPIC="" ;;
+ mingw32*) CCPIC="" ;;
++ *netbsd*) CCPIC="-fPIC" ;;
+ *) CCPIC="-fpic" ;;
+ esac
+ else
+@@ -7187,7 +7188,7 @@
enable_documentation=yes
else