summaryrefslogtreecommitdiff
path: root/databases/shared-mime-info
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2020-02-05 08:04:17 +0000
committerhe <he@pkgsrc.org>2020-02-05 08:04:17 +0000
commite9fdef9572b8814d3fd00293f63bc1f1c467186e (patch)
tree3add0ba2e81b4c0f8a67829634aa8c5169c881cb /databases/shared-mime-info
parenta04d068c86195925fe09cc672d0b7ab05399e1b4 (diff)
downloadpkgsrc-e9fdef9572b8814d3fd00293f63bc1f1c467186e.tar.gz
Patch away a use of the non-standard == as operator for the test command.
Diffstat (limited to 'databases/shared-mime-info')
-rw-r--r--databases/shared-mime-info/distinfo3
-rw-r--r--databases/shared-mime-info/patches/patch-Makefile.in15
2 files changed, 17 insertions, 1 deletions
diff --git a/databases/shared-mime-info/distinfo b/databases/shared-mime-info/distinfo
index cbae861628c..614edbe8792 100644
--- a/databases/shared-mime-info/distinfo
+++ b/databases/shared-mime-info/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.34 2018/08/16 12:45:23 wiz Exp $
+$NetBSD: distinfo,v 1.35 2020/02/05 08:04:17 he Exp $
SHA1 (shared-mime-info-1.10.tar.xz) = d126fa5a0b16bb5440c6b4c56bf65f83c189e129
RMD160 (shared-mime-info-1.10.tar.xz) = 2542abd899b372cae77a93dafb8b80b7a097e823
SHA512 (shared-mime-info-1.10.tar.xz) = efc2b63cae11e6b0332f8607ba57a885dec68a23ac299bbda3eb6e2c7ed071c7c40dba73e9cf23ab675fcaa86ea3777fa931a9f25000a08ec6a748734c88beda
Size (shared-mime-info-1.10.tar.xz) = 616800 bytes
+SHA1 (patch-Makefile.in) = d7237ae74b408332cbf9e3d50a08118bcbf062b7
SHA1 (patch-aa) = 2e55e6051412b06b2661f88673cb14154eef2c8a
diff --git a/databases/shared-mime-info/patches/patch-Makefile.in b/databases/shared-mime-info/patches/patch-Makefile.in
new file mode 100644
index 00000000000..72321d775d6
--- /dev/null
+++ b/databases/shared-mime-info/patches/patch-Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.in,v 1.1 2020/02/05 08:04:17 he Exp $
+
+Don't use non-portable test operator ==.
+
+--- Makefile.in.orig 2018-06-28 10:02:41.000000000 +0000
++++ Makefile.in
+@@ -1238,7 +1238,7 @@ check-translations:
+ RET=1; \
+ fi; \
+ done; \
+- if [ $$RET == 1 ] ; then exit 1; fi
++ if [ $$RET = 1 ] ; then exit 1; fi
+
+ update-translations: create-pot
+ @tx pull --all --force --skip