Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 09:34:17 +0200
From:      Gerhard Schmidt <estartu@augusta.de>
To:        python@freebsd.org
Subject:   Setting ZOPEPRODUCTDIR in make.conf
Message-ID:  <20040414073417.GA60461@augusta.de>

next in thread | raw e-mail | index | archive | help

--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--


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414073417.GA60461>