summaryrefslogtreecommitdiff
path: root/ports-mgmt/tinderbox-devel
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-20 21:55:30 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-20 21:55:30 +0000
commit5c5e8d60634dfc7b93ab8e3519df9201c078c1fa (patch)
treebf5b28b06f8274d374f05a66629a6900be027f6c /ports-mgmt/tinderbox-devel
parentUpdate to DAT 4679 (diff)
[patch] misc/tinderbox does not install php4-pgsql (or mysql)
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. PR: ports/92065 Submitted by: Vasil Dimov <vd@FreeBSD.bg>
Notes
Notes: svn path=/head/; revision=154012
Diffstat (limited to 'ports-mgmt/tinderbox-devel')
-rw-r--r--ports-mgmt/tinderbox-devel/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ports-mgmt/tinderbox-devel/Makefile b/ports-mgmt/tinderbox-devel/Makefile
index aedf176c32fe..c29b26f656c7 100644
--- a/ports-mgmt/tinderbox-devel/Makefile
+++ b/ports-mgmt/tinderbox-devel/Makefile
@@ -23,7 +23,6 @@ OPTIONS= PGSQL "With pgsql" On \
NO_BUILD= yes
USE_APACHE= yes
-USE_PHP= session
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -33,6 +32,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
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 @@ USE_MYSQL= yes
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