On Wed, Jul 20, 2011 at 04:55:59PM +0400, Ruslan Mahmatkhanov wrote: > Anton Shterenlikht wrote on 20.07.2011 16:40: > >french/aster has in the Makefile: > > > >.if ${ARCH} == "amd64" > ># python 2.7 causes process runaway > >PYTHON_VERSION= 2.6 > >.endif > > > >I get the same on ia64, so I changed it to: > > > >.if ${ARCH} == "amd64" || ${ARCH} == "ia64" > ># python 2.7 causes process runaway > >PYTHON_VERSION= 2.6 > >.endif > > > >But still 2.7 is used: > > > ># grep python ./work/aster-full-src-10.3.0/config.log > > /usr/local/bin/python2.7 setup.pyo test > ># > > > >Why? > > > >Thanks > >Anton > > > > As far i understand PYTHON_VERSION hold value like 'python2.7', so you > should correct this in your Makefile. Or just use USE_PYTHON = 2.6
No, PYTHON_VERSION seems to be overwritten by something else. I removed all but the PYTHON parts from the Makefile, and get this: # pwd /usr/ports/french/aster # cat Makefile USE_BISON= build USE_PYTHON= yes HAS_CONFIGURE= yes REINPLACE_ARGS= -i "" .include <bsd.port.pre.mk> PYTHON_VERSION="python2.6" USE_PYTHON = 2.6 test: echo ${PYTHON_VERSION} echo ${PYTHON_CMD} # make test echo python2.7 python2.7 echo /usr/local/bin/python2.7 /usr/local/bin/python2.7 # -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"