summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-03-12 12:51:29 +0000
committerryoon <ryoon@pkgsrc.org>2020-03-12 12:51:29 +0000
commiteb0974b0aeade045a52effc548efe743f2a59dbd (patch)
tree9b71a5685aafb8ece5bc90ed1dc166ce9fb4e5e7 /lang/rust
parent6466c8ea87c92b5640d6fbb431522add493efca5 (diff)
downloadpkgsrc-eb0974b0aeade045a52effc548efe743f2a59dbd.tar.gz
rust: Fix POSIX shell portability issue
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/distinfo3
-rw-r--r--lang/rust/patches/patch-vendor_libssh2-sys_libssh2_Makefile.am13
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/rust/distinfo b/lang/rust/distinfo
index 74cfe6e990e..ef35bff1834 100644
--- a/lang/rust/distinfo
+++ b/lang/rust/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.104 2020/02/28 11:10:36 adam Exp $
+$NetBSD: distinfo,v 1.105 2020/03/12 12:51:29 ryoon Exp $
SHA1 (rust-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 91517fa95f954427c627cf63eb7c518abd068f3e
RMD160 (rust-1.35.0-armv7-unknown-netbsd-eabihf.tar.gz) = 06a3d922b27aac2deb570301542897a131b47cd0
@@ -128,5 +128,6 @@ SHA1 (patch-src_tools_rust-installer_install-template.sh) = f2ec6dced2be1fa23773
SHA1 (patch-src_vendor_rand-0.6.1_src_rngs_os.rs) = c068ae41fb69a524336efcef7df7a9d1326d04f1
SHA1 (patch-vendor_backtrace-sys_src_libbacktrace_configure) = 90e54f66edce65ebe23fbf2480deb193ca926733
SHA1 (patch-vendor_libc_src_unix_solarish_mod.rs) = 804ea03be546fef0d2bd37d7f8abb26d38a7892b
+SHA1 (patch-vendor_libssh2-sys_libssh2_Makefile.am) = 5343adcf044eeed1f325cd29d28964e209a50058
SHA1 (patch-vendor_lzma-sys_config.h) = ab963fc8d7a847715e0e0dc2928333efe38e923f
SHA1 (patch-vendor_rand__os_src_netbsd.rs) = 049df63c904abd81cb92f33fa0882f5c81cae51a
diff --git a/lang/rust/patches/patch-vendor_libssh2-sys_libssh2_Makefile.am b/lang/rust/patches/patch-vendor_libssh2-sys_libssh2_Makefile.am
new file mode 100644
index 00000000000..4ba86586678
--- /dev/null
+++ b/lang/rust/patches/patch-vendor_libssh2-sys_libssh2_Makefile.am
@@ -0,0 +1,13 @@
+$NetBSD: patch-vendor_libssh2-sys_libssh2_Makefile.am,v 1.1 2020/03/12 12:51:29 ryoon Exp $
+
+--- vendor/libssh2-sys/libssh2/Makefile.am.orig 2020-02-25 00:28:47.000000000 +0000
++++ vendor/libssh2-sys/libssh2/Makefile.am
+@@ -119,7 +119,7 @@ $(DSP): win32/msvcproj.head win32/msvcpr
+ for file in $$sorted_hdrs; do \
+ echo "# Begin Source File"; \
+ echo ""; \
+- if [ "$$file" == "libssh2_config.h" ]; \
++ if [ "$$file" = "libssh2_config.h" ]; \
+ then \
+ echo "SOURCE=.\\"$$file; \
+ else \