ports/65608: ZOPEPRODUCTDIR ist wrong and not overrideable in /etc/make.conf

Gerhard Sschmidt estartu at augusta.de
Fri Apr 16 07:00:41 UTC 2004


>Number:         65608
>Category:       ports
>Synopsis:       ZOPEPRODUCTDIR ist wrong and not overrideable in /etc/make.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 16 00:00:40 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Gerhard Sschmidt
>Release:        5.2.1-RELEASE-p4
>Organization:
Augsburger Computer Forum e..V.
>Environment:
FreeBSD sol.ze.tum.de 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #4: Mon Apr  5 08:40:15 CEST 2004     root at sol.ze.tum.de:/usr/src/sys/i386/compile/SOL  i386
>Description:
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.

It should be the posible 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.
>How-To-Repeat:

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

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list