ports/92065: [patch] misc/tinderbox does not install php4-pgsql (or mysql) extension
Vasil Dimov
vd at FreeBSD.bg
Fri Jan 20 16:10:13 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list