Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2004 15:32:21 +0800
From:      "Khairil Yusof" <kaeru@inigo-tech.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        filippo@widestore.net
Subject:   ports/66195: [patch] Fix zope ports with hardcoded Products path
Message-ID:  <1083569541.0@wolverine.cerebro.net.my>
Resent-Message-ID: <200405030740.i437eKdb062602@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66195
>Category:       ports
>Synopsis:       [patch] Fix zope ports with hardcoded Products path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 03 00:40:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Khairil Yusof
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Inigo Tech 
>Environment:


System: FreeBSD 5.2-CURRENT #1: Mon May  3 08:36:31 MYT 2004
    root@wolverine.cerebro.net.my:/usr/obj/usr/src/sys/WOLVERINE



>Description:


Respect new user definable ZOPEPRODUCTDIR variable,
when checking for dependencies.

ZOPEPRODUCTDIR default has also changed, deprecating
old hard coded Products path.


>How-To-Repeat:





>Fix:


diff -ur /usr/ports/www/zope-archetypes/Makefile www/zope-archetypes/Makefile
--- /usr/ports/www/zope-archetypes/Makefile	Mon Apr 12 15:36:14 2004
+++ www/zope-archetypes/Makefile	Mon May  3 15:25:48 2004
@@ -18,8 +18,8 @@
 MAINTAINER=	filippo@widestore.net
 COMMENT=	Framework for the development of new Content Types in Zope/CMF/Plone
 
-RUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/CMFPlone/__init__.py:${PORTSDIR}/www/plone \
-	${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/PortalTransforms/__init__.py:${PORTSDIR}/www/zope-cmftransforms
+RUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \
+	${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/PortalTransforms/__init__.py:${PORTSDIR}/www/zope-cmftransforms
 
 WRKSRC=${WRKDIR}/${DISTNAME}
 USE_ZOPE=	yes
diff -ur /usr/ports/www/zope-cmfforum/Makefile www/zope-cmfforum/Makefile
--- /usr/ports/www/zope-cmfforum/Makefile	Thu Apr 22 13:16:51 2004
+++ www/zope-cmfforum/Makefile	Mon May  3 15:22:54 2004
@@ -18,7 +18,7 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A forum for ZOPE CMF with file attachments
 
-RUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
+RUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
 
 USE_PYTHON=	yes
 USE_ZOPE=	yes
diff -ur /usr/ports/www/zope-cmftransforms/Makefile www/zope-cmftransforms/Makefile
--- /usr/ports/www/zope-cmftransforms/Makefile	Mon Apr  5 22:04:56 2004
+++ www/zope-cmftransforms/Makefile	Mon May  3 15:23:32 2004
@@ -17,7 +17,7 @@
 MAINTAINER=	filippo@widestore.net
 COMMENT=	CMFTransforms product for Zope/CMF
 
-RUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf \
+RUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf \
 		pdftohtml:${PORTSDIR}/textproc/pdftohtml \
 		lynx:${PORTSDIR}/www/lynx \
 		${PYTHON_SITELIBDIR}/docutils/__init__.py:${PORTSDIR}/textproc/py-docutils



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



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