ports/87476: [PATCH] Mk/bsd.python.mk: allow to choose Zope version in Products ports

Hye-Shik Chang perky at freebsd.org
Wed Nov 2 07:12:35 PST 2005


On Sat, Oct 15, 2005 at 10:59:29AM +0200, Filippo Natali wrote:
> >Number:         87476
> >Category:       ports
> >Synopsis:       [PATCH] Mk/bsd.python.mk: allow to choose Zope version in Products ports
> 
> Allow users to choose which Zope version when installing a Zope Product from ports. If a port Makefile contains USE_ZOPE it will depend from www/zope, but when WITH_ZOPE28 is defined it will depend from www/zope28.
> The right python dependency (2.3 for Zope 2.7 and 2.4 for 2.8) will be also set.
> 

Thanks for the patch!  Here's my revise for the functionality.
How's this?
http://people.freebsd.org/~perky/pythonmk-zope28support.diff

A new variable, ZOPE_VERSION is intented to be used as specified
in /etc/make.conf.  (or what about WANT_ZOPE_VER for more consistent
naming in bsd.*.mk?)


Hye-Shik


More information about the freebsd-python mailing list