summaryrefslogtreecommitdiff
path: root/security/nettle
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2013-11-26 09:22:19 +0000
committermartin <martin@pkgsrc.org>2013-11-26 09:22:19 +0000
commitd209cf4419f8af8c262e1c9a4fbeec4b6c97acc8 (patch)
tree11da507ab8acf6a2ebda482de60214e7759660cf /security/nettle
parent0998d2936212028652c38f8edb1cc86bc750b7eb (diff)
downloadpkgsrc-d209cf4419f8af8c262e1c9a4fbeec4b6c97acc8.tar.gz
Make it use -fPIC on NetBSD (does not build on at least sparc64 otherwise).
Bump rev.
Diffstat (limited to 'security/nettle')
-rw-r--r--security/nettle/Makefile3
-rw-r--r--security/nettle/distinfo4
-rw-r--r--security/nettle/patches/patch-aa16
3 files changed, 16 insertions, 7 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 2f9b3c8aa8f..16f0af53681 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2013/05/29 20:19:28 adam Exp $
+# $NetBSD: Makefile,v 1.13 2013/11/26 09:22:19 martin Exp $
DISTNAME= nettle-2.7.1
+PKGREVISION= 1
CATEGORIES= devel security
MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/ \
ftp://ftp.lysator.liu.se/pub/security/lsh/
diff --git a/security/nettle/distinfo b/security/nettle/distinfo
index 2c671dcffd9..887613133b7 100644
--- a/security/nettle/distinfo
+++ b/security/nettle/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.9 2013/05/29 20:19:28 adam Exp $
+$NetBSD: distinfo,v 1.10 2013/11/26 09:22:19 martin Exp $
SHA1 (nettle-2.7.1.tar.gz) = e7477df5f66e650c4c4738ec8e01c2efdb5d1211
RMD160 (nettle-2.7.1.tar.gz) = f5c9d950c1e55210fa1659b907378814c54312d3
Size (nettle-2.7.1.tar.gz) = 1558863 bytes
SHA1 (patch-Makefile.in) = af3ca13235c4b11ca3238b19802332d33c5c54e0
-SHA1 (patch-aa) = 9990adb5651103d5128abc48f6b053f2bf83b076
+SHA1 (patch-aa) = 2332668b077a6e3a1add603c87f60167755554ec
SHA1 (patch-config.make.in) = 27baf63fb161be3224f448c52200cef057bf64ed
SHA1 (patch-testsuite_Makefile.in) = ade95c10fcad37c461c06e0731550d65d4b20509
SHA1 (patch-tools_Makefile.in) = f074fc1bf0e2b7ded88fd65ec303e2be407f0217
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