[ports-i386@pointyhat.freebsd.org: py24-simplejson-1.7.1 failed
on i386 5]
Nicola Vitale
nivit at FreeBSD.org
Mon Apr 2 21:11:15 UTC 2007
> [2007/4/2, Kris Kennaway <kris at obsecurity.org>
> On Sun, Apr 01, 2007 at 11:30:00PM +0200, Nicola Vitale wrote:
> > I think we have to set MANUAL_PACKAGE_BUILD [...]
> As in those other cases, I would much prefer if someone fixed the real
> problem [...]
Found a solution: it's enough to add this target in the Makefile
pre-build:
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist -o
plat-name -s ${OSINFOS}
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist_egg -o
plat-name -s ${OSINFOS}
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o
build-platlib -s lib.${OSINFOS}
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o
build-temp -s temp.${OSINFOS}-${PYTHON_VER}
(unfortunately, it's possible to set only one option at time), and all
works fine
http://people.freebsd.org/~nivit/tb_logs/5-FreeBSD/i386/devel/py-simplejson/py24-simplejson-1.7.1.log
http://people.freebsd.org/~nivit/tb_logs/6-FreeBSD/i386/devel/py-simplejson/py24-simplejson-1.7.1.log
In the same manner, we can likely fix, for example, devel/py-lxml
(http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.6.2007031101/py24-lxml-1.2.log
) too, and remove NO_PACKAGE, MANUAL_PACKAGE_BUILD from other Python
ports.
--
Nicola Vitale
nivit at FreeBSD.org
More information about the freebsd-python
mailing list