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>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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@augusta.de | auf Anfrage/
86856 Hiltenfingen | Dienst: schmidt@ze.tu-muenchen.de | on request
Germany | |
[-- Attachment #2 --]
-----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-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414073417.GA60461>
