From owner-freebsd-ports@FreeBSD.ORG Mon Oct 27 14:55:28 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB0B916A4BF for ; Mon, 27 Oct 2003 14:55:28 -0800 (PST) Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CC6343F3F for ; Mon, 27 Oct 2003 14:55:28 -0800 (PST) (envelope-from pitonat@libero.it) Received: from libero.it (193.70.192.39) by smtp2.libero.it (7.0.020-DD01) id 3F6F0DA0004164F2 for ports@freebsd.org; Mon, 27 Oct 2003 23:56:05 +0100 Date: Mon, 27 Oct 2003 23:55:27 +0100 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "Filippo Natali" To: "ports" X-XaM3-API-Version: 4.1 (B16) X-type: 0 X-SenderIP: 81.72.43.241 Subject: Zope and bsd.python.mk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 22:55:28 -0000 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