ports/75013: [PATCH] bsd.python.mk: force Zope products to use python 2.3

Filippo Natali filippo at widestore.net
Mon Dec 13 09:40:26 UTC 2004


>Number:         75013
>Category:       ports
>Synopsis:       [PATCH] bsd.python.mk: force Zope products to use python 2.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 13 09:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Filippo Natali
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Widestore srl 
>Environment:


System: FreeBSD 5.3-STABLE #0: Thu Nov 18 16:24:25 CET 2004
    filippo at cagnina.hq.widestore.net:/usr/obj/usr/src/sys/CAGNINA



>Description:


Since the import of python 2.4 as default version, all Zope products (which usually have "USE_ZOPE=yes" and "USE_PYTHON="yes" defined in Makefile) depend both from python 2.3 and 2.4.


>How-To-Repeat:


# cd /usr/ports/www/zope-cmf
# make install
...
# pkg_info -r zope-cmf-1.4.7
Information for zope-cmf-1.4.7:

Depends on:
Dependency: python-2.3.4_3
Dependency: python-2.4
Dependency: zope-2.7.3


>Fix:


--- bsd.python.mk.patch begins here ---
--- bsd.python.mk	Wed Dec  1 16:04:04 2004
+++ bsd.python.mk.new	Tue Dec  7 16:19:32 2004
@@ -136,6 +136,10 @@
 					|| ${ECHO_CMD} ${_PYTHON_PORTBRANCH}
 .endif	# defined(PYTHON_VERSION)
 
+.if defined(USE_ZOPE)
+USE_PYTHON=		2.3
+.endif
+
 .if !defined(USE_PYTHON)
 .if defined(USE_PYTHON_BUILD)
 USE_PYTHON=		${USE_PYTHON_BUILD}
--- bsd.python.mk.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list