Date: Mon, 02 Apr 2007 14:21:34 -0700 From: Alexander Botero-Lowry <alexbl@FreeBSD.org> To: "Nicola Vitale" <nivit@freebsd.org> Cc: python@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: [ports-i386@pointyhat.freebsd.org: py24-simplejson-1.7.1 failed on i386 5] Message-ID: <20070402212211.0B33139C25@cherenkov.geekfire.com> In-Reply-To: <25ef68cb0704021411ge64a555h6333248c1087f704@mail.gmail.com> References: <20070401184419.GE26436@xor.obsecurity.org> <25ef68cb0704011430j7ddc1f2auda638ef05b144df0@mail.gmail.com> <20070401220510.GA78758@xor.obsecurity.org> <25ef68cb0704021411ge64a555h6333248c1087f704@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > [2007/4/2, Kris Kennaway <kris@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070402212211.0B33139C25>
