Date: Fri, 20 Jan 2006 18:00:31 +0200 From: Vasil Dimov <vd@FreeBSD.bg> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92065: [patch] misc/tinderbox does not install php4-pgsql (or mysql) extension Message-ID: <20060120160030.GA70809@qlovarnika.bg.datamax> Resent-Message-ID: <200601201610.k0KGA8GE019390@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92065 >Category: ports >Synopsis: [patch] misc/tinderbox does not install php4-pgsql (or mysql) extension >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 20 16:10:07 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Vasil Dimov >Release: FreeBSD 6.0-STABLE amd64 >Organization: DataMax >Environment: >Description: misc/tinderbox does not install the php extension for the selected database, because the extension is added to USE_PHP after bsd.port.pre.mk inclusion. >How-To-Repeat: >Fix: The exact solution was suggested by flz. --- tinderbox_dep.diff begins here --- Index: Makefile =================================================================== RCS file: /usr/local/cvsupdroot/ports/misc/tinderbox/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- Makefile 19 Jan 2006 06:35:35 -0000 1.7 +++ Makefile 20 Jan 2006 15:54:22 -0000 @@ -23,7 +23,6 @@ NO_BUILD= yes USE_APACHE= yes -USE_PHP= session SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message @@ -33,6 +32,8 @@ IGNORE= is useless without a database. Please (re)run 'make config' and choose one of PGSQL and MYSQL .endif +USE_PHP= session + .if defined(WITH_PGSQL) USE_PGSQL= yes USE_PHP+= pgsql @@ -45,6 +46,8 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql .endif +.include "${PORTSDIR}/Mk/bsd.php.mk" + post-extract: .for f in inc_ds.php inc_tinderbox.php ${MV} ${WRKSRC}/www-exp/${f} ${WRKSRC}/www-exp/${f}-dist --- tinderbox_dep.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060120160030.GA70809>