pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ilmbase Fix POSIX shell portability issues



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd755f2b1835
branches:  trunk
changeset: 401669:cd755f2b1835
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Sep 22 07:13:32 2019 +0000

description:
Fix POSIX shell portability issues

diffstat:

 graphics/ilmbase/distinfo                           |   4 +-
 graphics/ilmbase/patches/patch-IlmBase_configure.ac |  33 +++++++++++++++++++++
 2 files changed, 35 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r 5bb0aff372de -r cd755f2b1835 graphics/ilmbase/distinfo
--- a/graphics/ilmbase/distinfo Sun Sep 22 06:19:26 2019 +0000
+++ b/graphics/ilmbase/distinfo Sun Sep 22 07:13:32 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.17 2019/09/21 21:34:44 nia Exp $
+$NetBSD: distinfo,v 1.18 2019/09/22 07:13:32 ryoon Exp $
 
 SHA1 (openexr-2.4.0.tar.gz) = 0b9a24b8fa6b3f7f1d8813e91234308d3e43d10f
 RMD160 (openexr-2.4.0.tar.gz) = 5e7c5612c3b4a7d40d2fc9c3d45f0a46ebc738f9
 SHA512 (openexr-2.4.0.tar.gz) = b544b1fc9d785cad029f35388894d1e9dae278dfda3c80d5615280386206f2af5c94b72c17e1e1d1514f73a7151b5be0f166a4be5b74abefc2f27fdf0500dfe8
 Size (openexr-2.4.0.tar.gz) = 26806627 bytes
-SHA1 (patch-IlmBase_configure.ac) = 02d03927d37703c4e9919b445afa8245b0c2da85
+SHA1 (patch-IlmBase_configure.ac) = 563b483c24c1fa75f7fd203082ff872266d48d50
diff -r 5bb0aff372de -r cd755f2b1835 graphics/ilmbase/patches/patch-IlmBase_configure.ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ilmbase/patches/patch-IlmBase_configure.ac       Sun Sep 22 07:13:32 2019 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-IlmBase_configure.ac,v 1.1 2019/09/22 07:13:32 ryoon Exp $
+
+* POSIX shell compatibility
+
+--- IlmBase/configure.ac.orig  2019-09-18 01:02:06.000000000 +0000
++++ IlmBase/configure.ac
+@@ -218,7 +218,7 @@ lib_suffix_valid="no"
+ dnl Internal library namespace
+ dnl 
+ lib_namespace=""
+-if test "x${library_namespace_versioning}" == xyes ; then
++if test "x${library_namespace_versioning}" = xyes ; then
+     AC_DEFINE_UNQUOTED(IMATH_INTERNAL_NAMESPACE,     Imath_${ILMBASE_VERSION_API})
+     AC_DEFINE_UNQUOTED(IEX_INTERNAL_NAMESPACE,       Iex_${ILMBASE_VERSION_API})
+     AC_DEFINE_UNQUOTED(ILMTHREAD_INTERNAL_NAMESPACE, IlmThread_${ILMBASE_VERSION_API})
+@@ -227,7 +227,7 @@ if test "x${library_namespace_versioning
+     lib_namespace="${ILMBASE_VERSION_API}"
+     LIB_SUFFIX="${ILMBASE_VERSION_API}"
+     lib_suffix_valid="yes"
+-elif test "x${library_namespace_versioning}" == xno ; then
++elif test "x${library_namespace_versioning}" = xno ; then
+     AC_DEFINE_UNQUOTED(IMATH_INTERNAL_NAMESPACE,     Imath)
+     AC_DEFINE_UNQUOTED(IEX_INTERNAL_NAMESPACE,       Iex)
+     AC_DEFINE_UNQUOTED(ILMTHREAD_INTERNAL_NAMESPACE, IlmThread)
+@@ -244,7 +244,7 @@ else
+ fi
+ AC_SUBST(LIB_SUFFIX)
+ 
+-if test "x${lib_suffix_valid}" == xyes ; then
++if test "x${lib_suffix_valid}" = xyes ; then
+ AC_SUBST(LIB_SUFFIX_DASH,"-${LIB_SUFFIX}")
+ AM_CONDITIONAL(LIB_SUFFIX_EXISTS,true)
+ else



Home | Main Index | Thread Index | Old Index