Date: Wed, 26 Jan 2005 15:48:24 +0100 From: Filippo Natali <filippo.natali@widestore.net> To: ports@freebsd.org Cc: perky@FreeBSD.org Subject: Zope ports with double python dependency Message-ID: <41F7ADB8.4090305@widestore.net>
next in thread | raw e-mail | index | archive | help
Hi, since the import of 2.4 as default python version, Zope ports which depend from python extensions fail to build on pointyhat. The reason is a double python dependency: Zope ports need python 2.3 (enforced in bsd.python.mk if USE_ZOPE is defined), but python 2.4 is also added as dependency if the port requires a python extension. for instance in www/zope-portaltransforms: # make package-depends-list | grep py python-2.3.4_3 /usr/ports/lang/python23 lang/python23 py24-docutils-0.3.7 /usr/ports/textproc/py-docutils textproc/py-docutils python-2.4 /usr/ports/lang/python lang/python this leads to a "depend object" error on pointyhat, because it first adds py24-docutils package, then tries to build zope-portaltransforms which needs py23-docutils. A workaround could be the use of .MAKEFLAGS to propagate PYTHON_VERSION to dependencies. Adding .MAKEFLAGS= PYTHON_VERSION=python2.3 to zope-portaltransforms Makefile leads to: # make package-depends-list | grep py python-2.3.4_3 /usr/ports/lang/python23 lang/python23 py23-docutils-0.3.7 /usr/ports/textproc/py-docutils textproc/py-docutils I don't like this solution, but I haven't yet found something better. Filippo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F7ADB8.4090305>