Setting ZOPEPRODUCTDIR in make.conf

Gerhard Schmidt estartu at augusta.de
Wed Apr 14 00:34:19 PDT 2004


Hi, 

while working on some improvement for the zope port, i have found some 
problems. So is ZOPEPRODUCTDIR still set to lib/python/Products an can not 
overwritten in /etc/make.conf. so all Package ports get still installed 
in ${PREFIX}/www/Zope/lib/python/Products but should go to 
${PREFIX}/www/Zope/Products. 

IMHO there should be the posibilty to overriden both ZOPEPRODUCTDIR and 
ZOPEBASEDIR in /etc/make.conf. Right now the are defined in bsd.python.mk 
an could only changed in the Makefile of a Port. 

The following patch changes bsd.python.mk to enable overwriting. 

--- 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?=                 www/Zope
 # Don't change these. You'll probably want to define ZOPEPRODUCTNAME,
 # too, but that is port-specific.
-ZOPEBASEDIR=                   ${PREFIX}/${SZOPEBASEDIR}
-ZOPEPRODUCTDIR=                        lib/python/Products
+ZOPEBASEDIR?=                  ${PREFIX}/${SZOPEBASEDIR}
+ZOPEPRODUCTDIR?=               Products
 .endif
 
 .if defined(PYTHON_REL) && ${PYTHON_REL} < 200

Regards 
	Gerhard

----------------------------------------------------------------------------
Gerhard Schmidt    | Nick : estartu      IRC : Estartu  |  PGP Public Key
Fischbachweg 3     | Privat: estartu at augusta.de         |   auf Anfrage/
86856 Hiltenfingen | Dienst: schmidt at ze.tu-muenchen.de  |    on request
Germany            |					|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 366 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-python/attachments/20040414/32053984/attachment.bin


More information about the freebsd-python mailing list