diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-21 05:55:30 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-21 05:55:30 +0800 |
commit | 5051edc79f14b3917712708c525f5f0f00cadd03 (patch) | |
tree | 63388fa798dcffe6a0683677d25607fc7ee35298 /ports-mgmt/tinderbox | |
parent | d470a72ed33ec2f484bb373c56ef83d35bfab08e (diff) | |
download | freebsd-ports-gnome-5051edc79f14b3917712708c525f5f0f00cadd03.tar.gz freebsd-ports-gnome-5051edc79f14b3917712708c525f5f0f00cadd03.tar.zst freebsd-ports-gnome-5051edc79f14b3917712708c525f5f0f00cadd03.zip |
[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>
Diffstat (limited to 'ports-mgmt/tinderbox')
-rw-r--r-- | ports-mgmt/tinderbox/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ports-mgmt/tinderbox/Makefile b/ports-mgmt/tinderbox/Makefile index aedf176c32fe..c29b26f656c7 100644 --- a/ports-mgmt/tinderbox/Makefile +++ b/ports-mgmt/tinderbox/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 |