Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2003 23:55:27 +0100
From:      "Filippo Natali" <pitonat@libero.it>
To:        "ports" <ports@freebsd.org>
Subject:   Zope and bsd.python.mk
Message-ID:  <HNFUCF$2706DBAB80F6333E590C95CFEEEDC271@libero.it>

next in thread | raw e-mail | index | archive | help
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 p=
ython2.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=3D  2=
.3 2.2 2.1 2.0 1.5 2.4 # preferred first

  .if defined(USE_ZOPE)
! PY=
THON_VERSION=3D               python2.2
  .endif

  .if defined(PYTHON=
_VERSION)
--- 111,117 ----
  _PYTHON_ALLBRANCHES=3D  2.3 2.2 2.1 2.0 1.=
5 2.4 # preferred first

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

  .if defined(PYTHON_VERSION)

Shou=
ld I send a PR or is this enough?
best regards,
Filippo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HNFUCF$2706DBAB80F6333E590C95CFEEEDC271>