Zope and bsd.python.mk

Filippo Natali pitonat at libero.it
Mon Oct 27 14:55:28 PST 2003


Hi,

when a port Makefile defines USE_ZOPE, bsd.python.mk sets
PYTHON_VERSION to python2.2, but Zope 2.6.1 (included in
ports tree) requires python2.1.
The fix is trivial:

*** /usr/ports/Mk/bsd.python.mk.orig    Mon Oct 27 23:31:23 2003
--- /usr/ports/Mk/bsd.python.mk Mon Oct 27 23:31:34 200
***************
*** 111,117 ****
  _PYTHON_ALLBRANCHES=  2.3 2.2 2.1 2.0 1.5 2.4 # preferred first

  .if defined(USE_ZOPE)
! PYTHON_VERSION=               python2.2
  .endif

  .if defined(PYTHON_VERSION)
--- 111,117 ----
  _PYTHON_ALLBRANCHES=  2.3 2.2 2.1 2.0 1.5 2.4 # preferred first

  .if defined(USE_ZOPE)
! PYTHON_VERSION=               python2.1
  .endif

  .if defined(PYTHON_VERSION)

Should I send a PR or is this enough?
best regards,
Filippo



More information about the freebsd-ports mailing list