diff options
author | dirk <dirk@FreeBSD.org> | 2001-11-05 22:25:18 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-11-05 22:25:18 +0800 |
commit | 69df44bda70add454b74ab506b6adabe1b745983 (patch) | |
tree | 189acc0e58837b37aea32825299031625b6f9d58 /www/mod_php5 | |
parent | 91f80060dd66eee54ee5ac784062111ddea3ca35 (diff) | |
download | freebsd-ports-gnome-69df44bda70add454b74ab506b6adabe1b745983.tar.gz freebsd-ports-gnome-69df44bda70add454b74ab506b6adabe1b745983.tar.zst freebsd-ports-gnome-69df44bda70add454b74ab506b6adabe1b745983.zip |
Allow options to be set via PHP4_OPTIONS if BATCH is enabled, e. g.
make -DBATCH PHP4_OPTIONS='"zlib" "MySQL" "IMAP"' install
Make sure options are surrounded by " (double-quotes).
Diffstat (limited to 'www/mod_php5')
-rw-r--r-- | www/mod_php5/scripts/configure.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index fb4694e1e2da..3691299a1589 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -8,7 +8,11 @@ fi tempfile=`/usr/bin/mktemp -t checklist` if [ "${BATCH}" ]; then - set \"zlib\" \"MySQL\" + if [ "${PHP4_OPTIONS}" ]; then + set ${PHP4_OPTIONS} + else + set \"zlib\" \"MySQL\" + fi else /usr/bin/dialog --title "configuration options" --clear \ --checklist "\n\ |