ports/88166: add postgresql dependency to devel/bugzilla

Choe, Cheng-Dae whitekid at gmail.com
Sat Oct 29 04:40:16 UTC 2005


>Number:         88166
>Category:       ports
>Synopsis:       add postgresql dependency to devel/bugzilla
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 29 04:40:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     "Choe, Cheng-Dae"
>Release:        FreeBSD 6.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD w.comdongin.com 6.0-RC1 FreeBSD 6.0-RC1 #2: Thu Oct 27 06:45:57 KST 2005 root at w.comdongin.com:/usr/obj/data/src/sys/CDI i386
>Description:
- bugzilla 2.20 now supports postgresql as experimental
- this patch add postgresql dependency with WITH_PGSQL
- if omit WITH_PGSQL option. It still dependency to mysql
>How-To-Repeat:
              N/A
>Fix:
diff -ruN bugzilla.orig/Makefile bugzilla/Makefile
--- bugzilla.orig/Makefile      Wed Oct 26 20:03:48 2005
+++ bugzilla/Makefile   Sat Oct 29 12:35:56 2005
@@ -7,6 +7,7 @@
 
 PORTNAME?=     bugzilla
 PORTVERSION?=  2.20
+PORTREVISION=  1
 CATEGORIES?=   devel
 MASTER_SITES=  ${MASTER_SITE_MOZILLA}
 MASTER_SITE_SUBDIR=    webtools webtools/archived
@@ -21,8 +22,7 @@
                CONTRIB "Install user-contributed scripts" off \
                LDAP "Enable LDAP support" off
 
-RUN_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
-               ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
+RUN_DEPENDS+=  ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
                ${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
                ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
                ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \
@@ -54,6 +54,12 @@
                skins/standard/index
 
 .include <bsd.port.pre.mk>
+
+.if defined(WITH_PGSQL)
+RUN_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+.else
+RUN_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+.endif
 
 .ifdef WITH_CHARTING_MODULES
 RUN_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list