Date: Mon, 12 Feb 2007 05:51:52 +0800 (CST) From: Li-Wen Hsu <lwhsu@lwhsu.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: python@FreeBSD.org, lwhsu@lwhsu.org Subject: ports/109058: [PATCH] www/py-django: Add FastCGI support Message-ID: <200702112151.l1BLpqpD076307@jail0.lwhsu.csie.net> Resent-Message-ID: <200702112200.l1BM0G4i042132@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109058 >Category: ports >Synopsis: [PATCH] www/py-django: Add FastCGI support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 11 22:00:15 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD jail0.lwhsu.csie.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jan 26 00:04:54 CST 2007 >Description: -Add FastCGI support Port maintainer (python@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py24-django-0.95_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/py-django/Makefile /home/lwhsu/ports/www/py-django/Makefile --- /usr/ports/www/py-django/Makefile Sat Nov 18 02:07:44 2006 +++ /home/lwhsu/ports/www/py-django/Makefile Mon Feb 12 05:43:48 2007 @@ -7,7 +7,7 @@ PORTNAME?= django PORTVERSION?= 0.95 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= www python MASTER_SITES?= http://media.djangoproject.com/releases/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -32,7 +32,8 @@ OPTIONS= MOD_PYTHON3 "Install Apache2 with mod_python3" off \ POSTGRESQL "PostgreSQL support" off \ MYSQL "MySQL support" off \ - SQLITE "SQLite support" off + SQLITE "SQLite support" off \ + FASTCGI "FastCGI support" off # bypass infrastructure bug OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options @@ -53,6 +54,11 @@ .if defined(WITH_SQLITE) RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite20 +.endif + +.if defined(WITH_FASTCGI) +PYFLUP_EGG!= ${MAKE} -f ${PORTSDIR}/www/py-flup/Makefile -V PYFLUP_EGG +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/${PYFLUP_EGG}/flup/__init__.py:${PORTSDIR}/www/py-flup .endif post-install: --- py24-django-0.95_2.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?200702112151.l1BLpqpD076307>