summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-03-19 11:25:24 +0000
committerjperkin <jperkin@pkgsrc.org>2015-03-19 11:25:24 +0000
commit4a58aa77e51c4479a0c0176d650875661264fe73 (patch)
tree081cc53c77919d78c4b82ba637d12203549ecdb3 /security
parentebe78552f7f220ead5e5014115878f34025af616 (diff)
downloadpkgsrc-4a58aa77e51c4479a0c0176d650875661264fe73.tar.gz
Use ranlib for ranlib instead of non-portable 'ar s'.
Diffstat (limited to 'security')
-rw-r--r--security/polarssl/distinfo3
-rw-r--r--security/polarssl/patches/patch-library_Makefile15
2 files changed, 17 insertions, 1 deletions
diff --git a/security/polarssl/distinfo b/security/polarssl/distinfo
index a5ffba45184..b68c0552d67 100644
--- a/security/polarssl/distinfo
+++ b/security/polarssl/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2014/11/14 11:21:12 obache Exp $
+$NetBSD: distinfo,v 1.5 2015/03/19 11:25:24 jperkin Exp $
SHA1 (polarssl-1.2.12-gpl.tgz) = 78cb31a960e4fffaefe7b838f7869072d1e15929
RMD160 (polarssl-1.2.12-gpl.tgz) = 1cfba1607651c008e8bca83553a0988283535a09
Size (polarssl-1.2.12-gpl.tgz) = 1021400 bytes
SHA1 (patch-Makefile) = d35397c1df60e384c2a0826844ac8765fd1fef1a
+SHA1 (patch-library_Makefile) = 131158b6206c81628ef3c3d037fbe0cc6fcf2c1f
diff --git a/security/polarssl/patches/patch-library_Makefile b/security/polarssl/patches/patch-library_Makefile
new file mode 100644
index 00000000000..e375884dbbf
--- /dev/null
+++ b/security/polarssl/patches/patch-library_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-library_Makefile,v 1.1 2015/03/19 11:25:24 jperkin Exp $
+
+Call ranlib instead of non-portable 'ar s'.
+
+--- library/Makefile.orig 2014-10-24 08:42:52.000000000 +0000
++++ library/Makefile
+@@ -67,7 +67,7 @@ libpolarssl.a: $(OBJS)
+ echo " AR $@"
+ $(AR) r $@ $(OBJS)
+ echo " RL $@"
+- $(AR) s $@
++ $(RANLIB) $@
+
+ libpolarssl.${DLEXT}: libpolarssl.a
+ echo " LD $@"