Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2010 11:59:12 +0200 (CEST)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        catone@cpan.org
Subject:   ports/151064: [PATCH] textproc/pootle: [SUMMARIZE CHANGES]
Message-ID:  <20100929095912.97323E7BA7@mail2.vx.sk>
Resent-Message-ID: <201009291010.o8TAA2eU020628@freefall.freebsd.org>

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

>Number:         151064
>Category:       ports
>Synopsis:       [PATCH] textproc/pootle: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 29 10:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD neo.vx.sk 8.1-STABLE FreeBSD 8.1-STABLE #1 r212768M: Fri Sep 17 00:01:06 CEST
>Description:
- fix depends so that pootle works with Python versions other than 2.6

Port maintainer (catone@cpan.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- pootle-2.1.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/pootle/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	15 Sep 2010 19:28:20 -0000	1.8
+++ Makefile	29 Sep 2010 09:58:03 -0000
@@ -14,9 +14,9 @@
 MAINTAINER=	catone@cpan.org
 COMMENT=	Pootle is a user-friendly web portal for simple translation process
 
-BUILD_DEPENDS=	py*-django>=1.2:${PORTSDIR}/www/py-django \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django>=1.2:${PORTSDIR}/www/py-django \
 		translate-toolkit>=1.8:${PORTSDIR}/textproc/translate-toolkit \
-		${PYTHON_SITELIBDIR}/South-0.7.1-py2.6.egg:${PORTSDIR}/databases/py-south
+		${PYTHON_PKGNAMEPREFIX}south>=0.7:${PORTSDIR}/databases/py-south
 
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
@@ -68,12 +68,12 @@
 .endif
 
 .if defined(WITH_LUCENE)
-RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/lucene/_lucene.so:${PORTSDIR}/textproc/py-lucene
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}lucene>0:${PORTSDIR}/textproc/py-lucene
 .endif
 
 .if defined(WITH_MEMCACHED)
 LIB_DEPENDS+=	memcached:${PORTSDIR}/databases/libmemcached
-RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/python_memcached-1.45-py2.6.egg:${PORTSDIR}/databases/py-memcached
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}memcached>=1.45:${PORTSDIR}/databases/py-memcached
 .endif
 
 post-patch:
--- pootle-2.1.1.patch ends here ---

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



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