How to change Mk/bsd.python.mk ?

HAYASHI Yasushi yasi at yasi.to
Tue Jan 24 18:35:33 PST 2006


Dear Hye-Shik

Hye-Shik Chang wrote:
> If the PR includes changes to Mk/bsd.python.mk, a committer who
> treats the PR will change it together.  Otherwise, please send me
> a patch or file a new PR for that.

Thank you.

How about my patch below?

-- 
Yasushi Hayashi
yasi at yasi.to



--- /usr/ports/Mk/bsd.python.mk	Tue Jan 24 06:14:05 2006
+++ /usr/ports/Mk/bsd.python.mk.new	Wed Jan 25 10:40:21 2006
@@ -151,7 +151,7 @@
  _PYTHON_PORTBRANCH=		2.4
  _PYTHON_ALLBRANCHES=	2.4 2.3 2.2 2.1 2.5 # preferred first
  _ZOPE_PORTBRANCH=		2.7
-_ZOPE_ALLBRANCHES=		2.7 2.8 3.1
+_ZOPE_ALLBRANCHES=		2.7 2.8 2.9 3.2


  # Determine version number of Zope to use
@@ -384,6 +384,9 @@
  .if ${ZOPE_VERSION} == "3.2"
  SZOPEBASEDIR?=			www/Zope3
  ZOPE_PORTSDIR=			${PORTSDIR}/www/zope3
+.elif ${ZOPE_VERSION} == "2.9"
+SZOPEBASEDIR?=			www/Zope29
+ZOPE_PORTSDIR=			${PORTSDIR}/www/zope29
  .elif ${ZOPE_VERSION} == "2.8"
  SZOPEBASEDIR?=			www/Zope28
  ZOPE_PORTSDIR=			${PORTSDIR}/www/zope28
@@ -393,7 +396,7 @@
  .else
  check-makevars::
  	@${ECHO} "Makefile error: bad value for ZOPE_VERSION: ${ZOPE_VERSION}."
-	@${ECHO} "Legal values are:	2.7 (default), 2.8, 3.2"
+	@${ECHO} "Legal values are:	2.7 (default), 2.8, 2.9, 3.2"
  	@${FALSE}
  .endif
  ZOPEBASEDIR?=			${PREFIX}/${SZOPEBASEDIR}



More information about the freebsd-python mailing list