Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2003 14:51:00 +0800 (CST)
From:      Jackie Yu <yu@dbmaker.com.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59630: lang/php4: PHP configuration options add DBMaker support
Message-ID:  <20031124065100.8A5119B03@freebsd.dbmaker.com.tw>
Resent-Message-ID: <200311240720.hAO7KJae050484@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59630
>Category:       ports
>Synopsis:       lang/php4: PHP configuration options add DBMaker support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 23 23:20:19 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jackie Yu
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
<DBMaker>
>Environment:
System: FreeBSD freebsd.dbmaker.com.tw 4.9-STABLE FreeBSD 4.9-STABLE #0: Wed Nov 12 15:32:33 CST 2003 yu@freebsd.dbmaker.com.tw:/home/qa/makeworld/obj/home/qa/usr/src/sys/CASEMAKER i386


>Description:
	The lang/php4 configure dialog does not include DBMaker option.
>How-To-Repeat:
	No.
>Fix:

	Please apply the follow patch to enable --with-dbmaker option.

--- patch-php4 begins here ---
diff -ruN php4.bak/Makefile php4/Makefile
--- php4.bak/Makefile	Mon Nov 24 13:56:57 2003
+++ php4/Makefile	Mon Nov 24 12:48:43 2003
@@ -129,8 +129,8 @@
 SAPI_FILE=	"bin/php"
 .endif
 
-ALL_OPTIONS=	BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBX \
-		DOMXML DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT \
+ALL_OPTIONS=	BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBMAKER \
+		DBX DOMXML DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT \
 		GMP HYPERWAVE ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE \
 		MCRYPT MHASH MIME MING MNOGOSEARCH MYSQL NCURSES OPENLDAP \
 		OPENSSL ORACLE OVERLOAD PCNTL PCRE PDFLIB POSIX POSTGRESQL \
@@ -250,6 +250,10 @@
 
 .if defined(WITH_DBASE)
 CONFIGURE_ARGS+=--enable-dbase
+.endif
+
+.if defined(WITH_DBMAKER)
+CONFIGURE_ARGS+=--with-dbmaker
 .endif
 
 .if defined(WITH_DBX)
diff -ruN php4.bak/scripts/configure.php php4/scripts/configure.php
--- php4.bak/scripts/configure.php	Mon Nov 24 11:08:14 2003
+++ php4/scripts/configure.php	Mon Nov 24 12:46:36 2003
@@ -27,6 +27,7 @@
 CURL		"CURL support" ${WITH_CURL:-OFF} \
 DB4		"Berkeley DB4 support" ${WITH_DB4:-OFF} \
 DBASE		"dBase library support" ${WITH_DBASE:-OFF} \
+DBMAKER		"DBMaker support" ${WITH_DBMAKER:-OFF} \
 DBX		"dbx support" ${WITH_DBX:-OFF} \
 DOMXML		"DOM support" ${WITH_DOMXML:-OFF} \
 DOMXSLT		"DOM XSLT and EXSLT support (implies DOMXML)" ${WITH_DOMXSLT:-OFF} \
diff -ruN php4.bak/scripts/php4_options php4/scripts/php4_options
--- php4.bak/scripts/php4_options	Mon Nov 24 11:08:14 2003
+++ php4/scripts/php4_options	Mon Nov 24 11:09:23 2003
@@ -7,6 +7,7 @@
 WITH_CURL=OFF
 WITH_DB4=OFF
 WITH_DBASE=OFF
+WITH_DBMAKER=OFF
 WITH_DBX=OFF
 WITH_DOMXML=OFF
 WITH_DOMXSLT=OFF
--- patch-php4 ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031124065100.8A5119B03>