From 8d15697adc9a8a52c438e7482d08159348bceb0e Mon Sep 17 00:00:00 2001 From: tnn Date: Tue, 19 May 2020 22:03:25 +0000 Subject: fix shell portability --- ...oo__native_inc__openoffice_unix_find-requires-x11.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 misc/libreoffice/patches/patch-instsetoo__native_inc__openoffice_unix_find-requires-x11.sh (limited to 'misc/libreoffice/patches') 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}" -- cgit v1.2.3