From owner-freebsd-ports Mon Jan 14 21:50:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DB31837B41A for ; Mon, 14 Jan 2002 21:50:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0F5o0661693; Mon, 14 Jan 2002 21:50:00 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AF90937B41A for ; Mon, 14 Jan 2002 21:40:58 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0F5ewN60719; Mon, 14 Jan 2002 21:40:58 -0800 (PST) (envelope-from nobody) Message-Id: <200201150540.g0F5ewN60719@freefall.freebsd.org> Date: Mon, 14 Jan 2002 21:40:58 -0800 (PST) From: Steve Wills To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/33911: php disabled gdbm by default, add option for mod_php4 to enable it Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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