ports/97151: bsd.python.mk fix for Zope extensions

Phil Oleson oz at nixil.net
Thu May 11 20:40:26 UTC 2006

>Number:         97151
>Category:       ports
>Synopsis:       bsd.python.mk fix for Zope extensions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 11 20:40:24 GMT 2006
>Originator:     Phil Oleson
>Release:        FreeBSD 4.7-RELEASE-p28 i386
System: FreeBSD nixil.net 4.7-RELEASE-p28 FreeBSD 4.7-RELEASE-p28 #43: Wed Jul 20 09:35:30 MDT 2005 root at nixil:/usr/src/sys/compile/nixil i386

	Zope extensions flail about with dependencies when using the Zope3 port.
        This fix will dynamically fix the Zope/skel vs Zope/zopeskel issue so 
        the zope extension ports will not try to rebuild a different version of
        zope when packaging.

	see Above.

--- bsd.python.mk-patch begins here ---
--- bsd.python.mk.orig	Thu May 11 13:08:20 2006
+++ bsd.python.mk	Thu May 11 13:17:12 2006
@@ -384,15 +384,19 @@
 .if ${ZOPE_VERSION} == "3.2"
 SZOPEBASEDIR?=			www/Zope3
+ZOPESKEL=			zopeskel
 .elif ${ZOPE_VERSION} == "2.9"
 SZOPEBASEDIR?=			www/Zope29
 ZOPE_PORTSDIR=			${PORTSDIR}/www/zope29
+ZOPESKEL=			skel
 .elif ${ZOPE_VERSION} == "2.8"
 SZOPEBASEDIR?=			www/Zope28
 ZOPE_PORTSDIR=			${PORTSDIR}/www/zope28
+ZOPESKEL=			skel
 .elif ${ZOPE_VERSION} == "2.7"
 SZOPEBASEDIR?=			www/Zope
+ZOPESKEL=			skel
 	@${ECHO} "Makefile error: bad value for ZOPE_VERSION: ${ZOPE_VERSION}."
@@ -427,7 +431,7 @@
 .endif		# ${PYTHON_NO_DEPENDS} == "NO"
 .if defined(USE_ZOPE)
-RUN_DEPENDS+=	${ZOPEBASEDIR}/skel/bin/zopectl.in:${ZOPE_PORTSDIR}
 # set $PREFIX as Python's one
--- bsd.python.mk-patch ends here ---


More information about the freebsd-ports-bugs mailing list