From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 00:34:19 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFE4516A4CE for ; Wed, 14 Apr 2004 00:34:19 -0700 (PDT) Received: from etustar.ze.tum.de (etustar.ze.tum.de [129.187.39.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D2D343D41 for ; Wed, 14 Apr 2004 00:34:19 -0700 (PDT) (envelope-from estartu@etustar.ze.tum.de) Received: from etustar.ze.tum.de (estartu@localhost.ze.tu-muenchen.de [127.0.0.1]) by etustar.ze.tum.de (8.12.11/8.12.11) with ESMTP id i3E7YHJF060508; Wed, 14 Apr 2004 09:34:17 +0200 (CEST) (envelope-from estartu@etustar.ze.tum.de) Received: (from estartu@localhost) by etustar.ze.tum.de (8.12.11/8.12.11/Submit) id i3E7YHX2060507; Wed, 14 Apr 2004 09:34:17 +0200 (CEST) (envelope-from estartu) Date: Wed, 14 Apr 2004 09:34:17 +0200 From: Gerhard Schmidt To: python@freebsd.org Message-ID: <20040414073417.GA60461@augusta.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Setting ZOPEPRODUCTDIR in make.conf X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 07:34:19 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi,=20 while working on some improvement for the zope port, i have found some=20 problems. So is ZOPEPRODUCTDIR still set to lib/python/Products an can not= =20 overwritten in /etc/make.conf. so all Package ports get still installed=20 in ${PREFIX}/www/Zope/lib/python/Products but should go to=20 ${PREFIX}/www/Zope/Products.=20 IMHO there should be the posibilty to overriden both ZOPEPRODUCTDIR and=20 ZOPEBASEDIR in /etc/make.conf. Right now the are defined in bsd.python.mk= =20 an could only changed in the Makefile of a Port.=20 The following patch changes bsd.python.mk to enable overwriting.=20 --- bsd.python.mk.orig Wed Apr 14 09:20:18 2004 +++ bsd.python.mk Wed Apr 14 09:29:19 2004 @@ -299,8 +299,8 @@ SZOPEBASEDIR?=3D www/Zope # Don't change these. You'll probably want to define ZOPEPRODUCTNAME, # too, but that is port-specific. -ZOPEBASEDIR=3D ${PREFIX}/${SZOPEBASEDIR} -ZOPEPRODUCTDIR=3D lib/python/Products +ZOPEBASEDIR?=3D ${PREFIX}/${SZOPEBASEDIR} +ZOPEPRODUCTDIR?=3D Products .endif =20 .if defined(PYTHON_REL) && ${PYTHON_REL} < 200 Regards=20 Gerhard ---------------------------------------------------------------------------- Gerhard Schmidt | Nick : estartu IRC : Estartu | PGP Public Key Fischbachweg 3 | Privat: estartu@augusta.de | auf Anfrage/ 86856 Hiltenfingen | Dienst: schmidt@ze.tu-muenchen.de | on request Germany | | --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: Li8nktAyuhKidsshdPm+Z0ppYuVSgzEj iQCVAwUBQHzpdgzx22nOTJQRAQHpNQP9ELfdNF7Ve1+5/wY2Xhc4GhQuFnMnLDOG CGuoJ76lHCA7ImKamo9N8BRxxsn4MqfxLSaWXcSrna/Z2Jz4WD/j4JYVNDZ5HK86 LILUzcAF42T+nbHLa4mpXxh0IwyfKJC+UUu4wLPw5LBGVWVuump3oGlwoLLmv8ou ym+LCiGHAjw= =w60B -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--