openbsd-ports/www/seamonkey/patches/patch-build_moz_configure_init_configure

18 lines
632 B
Plaintext

fix configure by hacking python build system
Index: build/moz.configure/init.configure
--- build/moz.configure/init.configure.orig
+++ build/moz.configure/init.configure
@@ -337,11 +337,6 @@ def virtualenv_python2(env_python, build_env, mozillab
'is in your PATH or define PYTHON to point to a Python 2.7 '
'executable.')
- if version < (2, 7, 0):
- raise FatalCheckError(
- 'Python 2.7 is required to build; '
- '%s is Python %d.%d' % (python, version[0], version[1]))
-
log.debug("python2: found executable: %r" % python)
if not manager.up_to_date(python):