From owner-freebsd-python@FreeBSD.ORG Mon Apr 2 21:22:47 2007 Return-Path: X-Original-To: python@freebsd.org Delivered-To: freebsd-python@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 07E5D16A406 for ; Mon, 2 Apr 2007 21:22:47 +0000 (UTC) (envelope-from alexbl@FreeBSD.org) Received: from cherenkov.geekfire.com (cherenkov.geekfire.com [66.206.86.94]) by mx1.freebsd.org (Postfix) with ESMTP id E106713C457 for ; Mon, 2 Apr 2007 21:22:46 +0000 (UTC) (envelope-from alexbl@FreeBSD.org) Received: from localhost.my.domain (c038h213.dorm.reed.edu [134.10.38.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cherenkov.geekfire.com (Postfix) with ESMTP id 0B33139C25; Mon, 2 Apr 2007 14:22:06 -0700 (PDT) From: Alexander Botero-Lowry To: "Nicola Vitale" 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> Comments: In-reply-to "Nicola Vitale" message dated "Mon, 02 Apr 2007 23:11:14 +0200." Date: Mon, 02 Apr 2007 14:21:34 -0700 Sender: alex@localhost X-Peer: 127.0.0.1 Message-Id: <20070402212211.0B33139C25@cherenkov.geekfire.com> Cc: python@freebsd.org, Kris Kennaway Subject: Re: [ports-i386@pointyhat.freebsd.org: py24-simplejson-1.7.1 failed on i386 5] X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 21:22:47 -0000 > > [2007/4/2, Kris Kennaway > > 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