pkgsrc-Bugs archive

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

pkg/45347: devel/xulrunner with python 3.1



>Number:         45347
>Category:       pkg
>Synopsis:       devel/xulrunner with python 3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 08 21:40:00 +0000 2011
>Originator:     Pierre Allegraud
>Release:        Current
>Organization:
>Environment:
>Description:
devel/xulrunner currently accepts python 3.1. However, it doesn't build because 
only python 2.5, 2.6 and 2.7 are accepted by the configure script.
>How-To-Repeat:

>Fix:
Maybe either add PYTHON_VERSION_ACCEPTED or PYTHON_VERSIONS_INCOMPATIBLE in 
mozilla-common.mk.
I'm using this patch:

Index: devel/xulrunner/mozilla-common.mk
===================================================================
--- devel/xulrunner/mozilla-common.mk
+++ devel/xulrunner/mozilla-common.mk
@@ -53,10 +53,11 @@
 CONFIG_SUB_OVERRIDE+=          ${MOZILLA_DIR}js/src/build/autoconf/config.sub
 CONFIG_SUB_OVERRIDE+=          ${MOZILLA_DIR}nsprpub/build/autoconf/config.sub
 CONFIG_SUB_OVERRIDE+=          ${MOZILLA_DIR}/js/ctypes/libffi/config.sub
 
 PYTHON_FOR_BUILD_ONLY=         yes
+PYTHON_VERSIONS_ACCEPTED=      25 26 27
 .include "../../lang/python/application.mk"
 CONFIGURE_ENV+=                PYTHON=${PYTHONBIN:Q}
 
 # Makefiles sometimes call "rm -f" without more arguments. Kludge around ...
 .PHONY: create-rm-wrapper




Home | Main Index | Thread Index | Old Index