Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2008 15:43:37 GMT
From:      olli hauer <ohauer@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122469: [patch] options for viewvc
Message-ID:  <200804051543.m35FhbV8044759@www.freebsd.org>
Resent-Message-ID: <200804051550.m35Fo4pW095806@freefall.freebsd.org>

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

>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@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:



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