[ports-i386@pointyhat.freebsd.org: py24-simplejson-1.7.1 failed on i386 5]

Alexander Botero-Lowry alexbl at FreeBSD.org
Mon Apr 2 21:22:47 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
\o/

> 
> 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
> 
I will look at adding this to bsd.python.mk unless perky gets to it first.
A PR about it would be nice as a reminder. :)

Alex


More information about the freebsd-python mailing list