aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/mod_php4/scripts/configure.php5
-rw-r--r--www/mod_php5/scripts/configure.php5
2 files changed, 10 insertions, 0 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 6729ade0210e..34d36c2154c1 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -32,6 +32,7 @@ SybaseDB "Sybase/MS-SQL database support (DB-lib)" OFF \
SybaseCT "Sybase/MS-SQL database support (CT-lib)" OFF \
Interbase "Interbase 6 database support (Firebird)" OFF \
dBase "dBase database support" OFF \
+GDBM "GNU database manager support" OFF \
OpenLDAP1 "OpenLDAP 1.x support" OFF \
OpenLDAP2 "OpenLDAP 2.x support" OFF \
OpenSSL "OpenSSL support" OFF \
@@ -213,6 +214,10 @@ while [ "$1" ]; do
\"dBase\")
echo "CONFIGURE_ARGS+=--with-dbase"
;;
+ \"GDBM\")
+ echo "LIB_DEPENDS+= gdbm.3:\${PORTSDIR}/databases/gdbm"
+ echo "CONFIGURE_ARGS+=--with-gdbm=\${LOCALBASE}"
+ ;;
\"OpenLDAP1\")
echo "LIB_DEPENDS+= ldap.1:\${PORTSDIR}/net/openldap"
echo "LIB_DEPENDS+= lber.1:\${PORTSDIR}/net/openldap"
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index 6729ade0210e..34d36c2154c1 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/scripts/configure.php
@@ -32,6 +32,7 @@ SybaseDB "Sybase/MS-SQL database support (DB-lib)" OFF \
SybaseCT "Sybase/MS-SQL database support (CT-lib)" OFF \
Interbase "Interbase 6 database support (Firebird)" OFF \
dBase "dBase database support" OFF \
+GDBM "GNU database manager support" OFF \
OpenLDAP1 "OpenLDAP 1.x support" OFF \
OpenLDAP2 "OpenLDAP 2.x support" OFF \
OpenSSL "OpenSSL support" OFF \
@@ -213,6 +214,10 @@ while [ "$1" ]; do
\"dBase\")
echo "CONFIGURE_ARGS+=--with-dbase"
;;
+ \"GDBM\")
+ echo "LIB_DEPENDS+= gdbm.3:\${PORTSDIR}/databases/gdbm"
+ echo "CONFIGURE_ARGS+=--with-gdbm=\${LOCALBASE}"
+ ;;
\"OpenLDAP1\")
echo "LIB_DEPENDS+= ldap.1:\${PORTSDIR}/net/openldap"
echo "LIB_DEPENDS+= lber.1:\${PORTSDIR}/net/openldap"