www/zope-coreblog has trouble with python 2.4

Filippo Natali filippo.natali at widestore.net
Tue Dec 7 07:57:41 PST 2004


on 05.12.2004 22:50 HAYASHI Yasushi wrote:
> Thanks a lot !
> I'll modify www/zope-coreblog referring www/zope.
> 
> Is it better that all ports which has "USE_ZOPE=yes" should also have 
> "USE_PYTHON=2.3" ?
> And how about textproc/py-xml ?  Zope has "BUILD_DEPENDS" for it.

Hi!

this little patch for bsd.python.mk sets USE_PYTHON=2.3 if a port has
USE_ZOPE=yes. This could be a workaround until Zope 2.8, instead of
patching all Zope related ports.

If someone else can test it (at his own risk ;) ), I'll send a pr.

regards,
Filippo Natali
-------------- next part --------------
--- 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}


More information about the freebsd-python mailing list