ports/133081: [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken packages

Chris Rees utisoft at gmail.com
Thu May 30 16:50:01 UTC 2013


The following reply was made to PR ports/133081; it has been noted by GNATS.

From: Chris Rees <utisoft at gmail.com>
To: "bug-followup at freebsd.org" <bug-followup at freebsd.org>
Cc:  
Subject: Re: ports/133081: [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes
 broken packages
Date: Thu, 30 May 2013 17:46:01 +0100

 The solution to this appears pretty easy on the surface.
 
 Taking Stef's first suggestion on stripping all but the major version,
 we can also set the envar _PYTHON_HOST_PLATFORM to make distutils use
 that instead.
 
 Do we think this needs an exp-run?  I've tested it on a couple of
 ports, and it appears to work well, going from:
 
 cracklib-2.8.19-py2.7-freebsd-9.1-STABLE-amd64.egg/
 
 to
 
 cracklib-2.8.19-py2.7-freebsd-9-amd64.egg/
 
 Chris
 
 http://www.bayofrum.net/~crees/patches/fix-distutils-arch.diff


More information about the freebsd-python mailing list