Date: Mon, 14 Jan 2002 21:40:58 -0800 (PST) From: Steve Wills <steve@stevenwills.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/33911: php disabled gdbm by default, add option for mod_php4 to enable it Message-ID: <200201150540.g0F5ewN60719@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 33911 >Category: ports >Synopsis: php disabled gdbm by default, add option for mod_php4 to enable it >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 14 21:50:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Steve Wills >Release: 4.4 >Organization: >Environment: FreeBSD tigger.example.com 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Mon Oct 8 17:21:08 EDT 2001 steve@tigger.example.com:/home/obj/home/src/sys/TIGGER i386 >Description: php no longer builds the gdbm option by default. See http://cvs.php.net/diff.php/php4/ext/db/config.m4?r1=1.8&r2=1.9&ty=h I'd like to add an option to ports/www/mod_php4/scripts/configure.php that will allow the user to turn it on. This will allow users who have built the older version of this port to upgrade with unexpected change. Turning it on by default would be POLA, but I suspect they've disabled it for a reason. >How-To-Repeat: Build ports/www/mod_php4 >Fix: Here is the patch, sorry if it gets mangled: --- scripts/configure.php.orig Mon Jan 14 18:46:53 2002 +++ scripts/configure.php Mon Jan 14 19:31:35 2002 @@ -30,6 +30,7 @@ SybaseCT "Sybase/MS-SQL database support (CT-lib)" OFF \ Interbase "Interbase 6 database support (Firebird)" OFF \ dBase "dBase database support" OFF \ +gdbm "old gdbm support" OFF \ OpenLDAP1 "OpenLDAP 1.x support" OFF \ OpenLDAP2 "OpenLDAP 2.x support" OFF \ OpenSSL "OpenSSL support" OFF \ @@ -170,6 +171,10 @@ ;; \"dBase\") echo "CONFIGURE_ARGS+=--with-dbase" + ;; + \"gdbm\") + echo "CONFIGURE_ARGS+=--with-db --with-gdbm" + echo "LIB_DEPENDS+= gdbm.2:\${PORTSDIR}/databases/gdbm" ;; \"OpenLDAP1\") echo "LIB_DEPENDS+= ldap.1:\${PORTSDIR}/net/openldap" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201150540.g0F5ewN60719>