add options to run depends on various backends Fix: --- attached file begins here ---
Responsible Changed From-To: freebsd-ports-bugs->itetcu I like OPTIONS
State Changed From-To: open->feedback Ask for submitter fix.
Thanks Ion-Mihai for pointing this out. Here is a new patch with fix. ====================================================================== diff -ruN roundup.old/Makefile roundup/Makefile --- roundup.old/Makefile Wed May 10 08:54:49 2006 +++ roundup/Makefile Wed May 17 21:16:22 2006 @@ -19,7 +19,30 @@ USE_PYDISTUTILS= yes USE_GETTEXT= yes +OPTIONS= SQLITE "Support Sqlite as backend" on +OPTIONS+= METAKIT "Support metakit as backend" off +OPTIONS+= PGSQL "Support posggresql as backend" off +OPTIONS+= MYSQL "Support mysql as backend" off + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_SQLITE) +RUN_DEPENDS+= ${PREFIX}/%%PYTHON_SITELIBDIR%%/sqlite/__init__.py:${PORTSDIR}/databases/py-PySQLite11 +.endif + +.if defined(WITH_METAKIT) +RUN_DEPENDS+= ${PREFIX}/%%PYTHON_SITELIBDIR%%/metakit.py:${PORTSDIR}/databases/metakit +.endif + +.if defined(WITH_PGSQL) +RUN_DEPENDS+= ${PREFIX}/lib/%%PYTHON_VERSION%%/site-packages/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg +.endif + +.if defined(WITH_MYSQL) +RUN_DEPENDS+= ${PREFIX}/%%PYTHON_SITELIBDIR%%/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb +.endif + MAN1= roundup-admin.1 roundup-demo.1 roundup-mailgw.1 \ roundup-server.1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> ====================================================================== -- Dryice @ http://dryice.name Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/sylvester-response.html
State Changed From-To: feedback->open new patch received
State Changed From-To: open->closed Commited with fixes: s:${PREFIX}/%%PYTHON_SITELIBDIR%%:${PYTHON_SITELIBDIR}: in RUN_DEPENDS