ports/122469: [patch] options for viewvc
olli hauer
ohauer at gmx.de
Sat Apr 5 15:50:04 UTC 2008
>Number: 122469
>Category: ports
>Synopsis: [patch] options for viewvc
>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: Sat Apr 05 15:50:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: olli hauer
>Release:
>Organization:
>Environment:
>Description:
Make mysql optional and not default.
form viewvc/INSTALL
Optional:
* MySQL 3.22 and MySQLdb 0.9.0 or later to create a commit database
>How-To-Repeat:
>Fix:
--- Makefile.orig 2008-04-03 04:39:36.000000000 +0200
+++ Makefile 2008-04-04 09:41:51.000000000 +0200
@@ -13,13 +13,22 @@
MAINTAINER= pgollucci at p6m7g8.com
COMMENT= Web-based Version Control Repository Browsing
-RUN_DEPENDS= ${PYTHON_LIBDIR}/site-packages/svn/__init__.py:${PORTSDIR}/devel/subversion-python \
- ${PYTHON_LIBDIR}/site-packages/_mysql.so:${PORTSDIR}/databases/py-MySQLdb
+OPTIONS= MYSQL "enable experimental MYSQL support" off \
+ MODPYTHON3 "enable mod_python3 support" off
+
+#.include <bsd.port.pre.mk>
+
+RUN_DEPENDS= ${PYTHON_LIBDIR}/site-packages/svn/__init__.py:${PORTSDIR}/devel/subversion-python
USE_PYTHON= yes
.if defined (WITH_APACHE)
USE_APACHE= 2.0+
.endif
+
+.if defined(WITH_MYSQL)
+RUN_DEPENDS+= ${PYTHON_LIBDIR}/site-packages/_mysql.so:${PORTSDIR}/databases/py-MySQLdb
+.endif
+
.if defined(WITH_MODPYTHON3)
RUN_DEPENDS+= ${APACHEMODDIR}/mod_python.so:${PORTSDIR}/www/mod_python3
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list