Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Dec 2004 16:57:04 +0100
From:      Filippo Natali <filippo.natali@widestore.net>
To:        HAYASHI Yasushi <yasi@yasi.to>
Cc:        freebsd-python@freebsd.org
Subject:   Re: www/zope-coreblog has trouble with python 2.4
Message-ID:  <41B5D2D0.9040904@widestore.net>
In-Reply-To: <004501c4db14$6f6d00e0$0200a8c0@hayashi2j51u1x>
References:  <005801c4dacf$2c50e140$0200a8c0@hayashi2j51u1x> <4f0b69dc04120506256728b92a@mail.gmail.com> <004501c4db14$6f6d00e0$0200a8c0@hayashi2j51u1x>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080900050207080907040603
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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

--------------080900050207080907040603
Content-Type: text/plain;
 name="bsd.python.mk.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bsd.python.mk.patch"

--- 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}

--------------080900050207080907040603--


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41B5D2D0.9040904>