$NetBSD: patch-wxWidgets_configure,v 1.1 2022/03/10 15:05:05 ryoon Exp $ * Fix shell portability issues. --- wxWidgets/configure.orig 2016-02-28 21:33:37.000000000 +0000 +++ wxWidgets/configure @@ -18594,7 +18594,7 @@ $as_echo_n "checking SDK deployment vers MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'` # If that failed, try again with the new key - if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then + if test "x$MACOSX_SDK_PLIST_VERSION_MIN" = "x"; then MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'` @@ -37477,7 +37477,7 @@ $as_echo "$bakefile_cv_gcc31" >&6; } SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o" fi - if test "x$GCC" == "xyes"; then + if test "x$GCC" = "xyes"; then PIC_FLAG="-dynamic -fPIC" fi if test "x$XLCC" = "xyes"; then