summaryrefslogtreecommitdiff
path: root/misc/libreoffice/patches
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-05-19 22:03:25 +0000
committertnn <tnn@pkgsrc.org>2020-05-19 22:03:25 +0000
commit8d15697adc9a8a52c438e7482d08159348bceb0e (patch)
treec9ed787dfdc808e9ad60ae7de5157d9621457b7d /misc/libreoffice/patches
parent3468c9a706dc6c26a13a1e29d8e71abdc24b357d (diff)
downloadpkgsrc-8d15697adc9a8a52c438e7482d08159348bceb0e.tar.gz
fix shell portability
Diffstat (limited to 'misc/libreoffice/patches')
-rw-r--r--misc/libreoffice/patches/patch-instsetoo__native_inc__openoffice_unix_find-requires-x11.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/misc/libreoffice/patches/patch-instsetoo__native_inc__openoffice_unix_find-requires-x11.sh b/misc/libreoffice/patches/patch-instsetoo__native_inc__openoffice_unix_find-requires-x11.sh
new file mode 100644
index 00000000000..38e2e741cef
--- /dev/null
+++ b/misc/libreoffice/patches/patch-instsetoo__native_inc__openoffice_unix_find-requires-x11.sh
@@ -0,0 +1,17 @@
+$NetBSD: patch-instsetoo__native_inc__openoffice_unix_find-requires-x11.sh,v 1.1 2020/05/19 22:03:25 tnn Exp $
+
+Shell compatibility
+
+--- instsetoo_native/inc_openoffice/unix/find-requires-x11.sh.orig 2020-04-07 15:26:49.000000000 +0000
++++ instsetoo_native/inc_openoffice/unix/find-requires-x11.sh
+@@ -18,8 +18,8 @@
+ #
+
+ cat > /dev/null
+-[[ "${PLATFORMID}" == "linux_x86_64" ]] && mark64="()(64bit)"
+-if [[ "${OS}" == "AIX" ]]; then
++[ "${PLATFORMID}" = "linux_x86_64" ] && mark64="()(64bit)"
++if [ "${OS}" = "AIX" ]; then
+ echo "libfreetype.a(libfreetype.so.6${mark64})"
+ else
+ echo "libfreetype.so.6${mark64}"