>Submitter-Id:  current-users
>Originator:    NAKAJI Hiroyuki
>Organization:  
>Confidential:  no 
>Synopsis:       bsd.python.mk typo?
>Severity:       serious
>Priority:       medium
>Category:       ports
>Class:          sw-bug
>Release:       FreeBSD 7.0-CURRENT i386
>Environment:
System: FreeBSD roddy.4407.kankyo-u.ac.jp 7.0-CURRENT FreeBSD 7.0-CURRENT #86: 
Mon Sep 3 12:05:54 JST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RODDY i386


>Description:
        Though the comment in ports/Mk/bsd.python.mk says "ZOPEBASEDIR is
${LOCALBASE}/${SZOPEBASEDIR} by default", ZOPEBASEDIR is
${PREFIX}/${SZOPEBASEDIR} if not defined.

        For example, I'm testing a new port www/plone3 (see ports/116148)
and faced to an error.

cd /my/work/dir/ports/www/plone3
make install PREFIX=/usr/tmp
...
===>   plone3-3.0.1 depends on file: 
/usr/tmp/plone3/www/Zope210/skel/bin/zopectl.in - not found
===>    Verifying install for /usr/tmp/plone3/www/Zope210/skel/bin/zopectl.in 
in 
     => No directory for /usr/tmp/plone3/www/Zope210/skel/bin/zopectl.in.  
Skipping..
===>   Generating temporary packing list
===>  Checking if www/plone3 already installed
pkg_info: the package info for package 'font-adobe-100dpi-1.0.0_1' is corrupt
pkg_info: the package info for package 'font-bh-75dpi-1.0.0' is corrupt
cp: /usr/tmp/plone3/www/Zope210/Products/../lib/python: No such file or 
directory
*** Error code 1

>How-To-Repeat:

>Fix:

Index: bsd.python.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.python.mk,v
retrieving revision 1.99
diff -u -u -r1.99 bsd.python.mk
--- bsd.python.mk       4 Aug 2007 11:37:24 -0000       1.99
+++ bsd.python.mk       18 Sep 2007 02:45:21 -0000
@@ -204,8 +204,8 @@
 #
 # USE_ZOPE                     - Use Zope - an object-based web application 
platform, this
 #                                        also sets up:
-# ZOPEBASEDIR          - relative base directory of zope server
-# SZOPEBASEDIR         - absolute base directory of zope that is
+# SZOPEBASEDIR         - relative base directory of zope server
+# ZOPEBASEDIR          - absolute base directory of zope that is
 #                                        ${LOCALBASE}/${SZOPEBASEDIR} by 
default,
 # ZOPEPRODUCTDIR       - directory, where products for zope can be found
 #
@@ -508,7 +508,7 @@
        @${ECHO} "Legal values are:     2.7 (default), 2.8, 2.9, 2.10, 3.2"
        @${FALSE}
 .endif
-ZOPEBASEDIR?=                  ${PREFIX}/${SZOPEBASEDIR}
+ZOPEBASEDIR?=                  ${LOCALBASE}/${SZOPEBASEDIR}
 ZOPEPRODUCTDIR?=               Products
 .endif
 
_______________________________________________
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to