Files
ports/games/oolite/files/patch-deps_mozilla_js_src_configure
2026-10-04 04:07:15 +00:00

27 lines
1.2 KiB
Plaintext

--- deps/mozilla/js/src/configure.orig 2014-05-17 17:57:43 UTC
+++ deps/mozilla/js/src/configure
@@ -6490,10 +6490,10 @@ case "$host" in
;;
esac
-echo $ac_n "checking for Python version >= $PYTHON_VERSION but not 3.x""... $ac_c" 1>&6
-echo "configure:6495: checking for Python version >= $PYTHON_VERSION but not 3.x" >&5
+echo $ac_n "checking for Python version >= $PYTHON_VERSION""... $ac_c" 1>&6
+echo "configure:6495: checking for Python version >= $PYTHON_VERSION" >&5
-$PYTHON -c "import sys; sys.exit(sys.version[:3] < sys.argv[1] or sys.version[:2] != '2.')" $PYTHON_VERSION
+$PYTHON -c "import sys; sys.exit(sys.version[:3] < sys.argv[1])" $PYTHON_VERSION
_python_res=$?
if test "$_python_res" != 0; then
@@ -9547,7 +9547,8 @@ fi
echo "$ac_t""$ac_cv_have_visibility_builtin_bug" 1>&6
if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \
- "$ac_cv_have_visibility_class_bug" = "no"; then
+ "$ac_cv_have_visibility_class_bug" = "no" -a \
+ "$OS_ARCH" != "FreeBSD" ; then
VISIBILITY_FLAGS='-I$(DIST)/system_wrappers_js -include $(topsrcdir)/config/gcc_hidden.h'
WRAP_SYSTEM_INCLUDES=1
STL_FLAGS='-I$(DIST)/stl_wrappers'