Otherwise we get (harmless) errors when trying to patch a non-existent file.
See #15454.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74726
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
fi
-if test "$wxUSE_MAC" = 1 ; then
+if test "$DEPS_TRACKING" = 1 -a "$wxUSE_MAC" = 1 ; then
if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
if test "x$disable_macosx_deps" = "xyes"; then
sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
- mv temp bk-deps
+ mv temp bk-deps
chmod +x bk-deps
fi
fi
dnl The next version of Bakefile will have the correct fix for this
dnl at which time, this hack can be removed.
-if test "$wxUSE_MAC" = 1 ; then
+if test "$DEPS_TRACKING" = 1 -a "$wxUSE_MAC" = 1 ; then
if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
if test "x$disable_macosx_deps" = "xyes"; then
sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
- mv temp bk-deps
+ mv temp bk-deps
chmod +x bk-deps
fi
fi