From owner-freebsd-ports Thu Oct 31 13:50:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04AFA37B404 for ; Thu, 31 Oct 2002 13:50:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 553CA43E97 for ; Thu, 31 Oct 2002 13:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9VLo2x3014664 for ; Thu, 31 Oct 2002 13:50:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9VLo2KL014663; Thu, 31 Oct 2002 13:50:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99C5D37B401 for ; Thu, 31 Oct 2002 13:46:24 -0800 (PST) Received: from gilliam.users.flyingcroc.net (gilliam.users.flyingcroc.net [207.246.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EA3543E77 for ; Thu, 31 Oct 2002 13:46:24 -0800 (PST) (envelope-from joek@zircon.staff.flyingcroc.net) Received: from zircon.staff.flyingcroc.net (zircon.staff.flyingcroc.net [207.246.150.92]) by gilliam.users.flyingcroc.net (8.9.3/8.9.3) with SMTP id NAA18751 for ; Thu, 31 Oct 2002 13:46:13 -0800 (PST) Received: (qmail 28978 invoked by uid 1001); 31 Oct 2002 21:46:13 -0000 Message-Id: <20021031214613.28977.qmail@zircon.staff.flyingcroc.net> Date: 31 Oct 2002 21:46:13 -0000 From: Joe Kelsey Reply-To: Joe Kelsey To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/44796: www/mod_php4: Add support for Oracle7 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: 44796 >Category: ports >Synopsis: www/mod_php4: Add support for Oracle7 >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: Thu Oct 31 13:50:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Joe Kelsey >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD zircon.staff.flyingcroc.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Tue Oct 22 10:29:27 PDT 2002 joek@zircon.staff.flyingcroc.net:/usr/obj/usr/src/sys/ZIRCON i386 >Description: www/mod_php4: Add support for Oracle7 >How-To-Repeat: Add Oracle7 support based on databases/oracle7-client. >Fix: Add files/patch-ext_oracle_config.m4. Apply configure.php4.diff to scripts/configure.php4. --- patch-ext_oracle_config.m4 begins here --- --- ext/oracle/config.m4.orig Mon Feb 4 04:08:39 2002 +++ ext/oracle/config.m4 Thu Oct 31 11:58:49 2002 @@ -4,24 +4,7 @@ AC_DEFUN(AC_ORACLE_VERSION,[ AC_MSG_CHECKING([Oracle version]) - if test -s "$ORACLE_DIR/orainst/unix.rgs"; then - ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/orainst/unix.rgs | sed 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4` - test -z "$ORACLE_VERSION" && ORACLE_VERSION=7.3 - elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.9.0; then - ORACLE_VERSION=9.0 - elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.8.0; then - ORACLE_VERSION=8.1 - elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.1.0; then - ORACLE_VERSION=8.0 - elif test -f $ORACLE_DIR/lib/libclntsh.a; then - if test -f $ORACLE_DIR/lib/libcore4.a; then - ORACLE_VERSION=8.0 - else - ORACLE_VERSION=8.1 - fi - else - AC_MSG_ERROR(Oracle needed libraries not found) - fi + ORACLE_VERSION=7.3 AC_MSG_RESULT($ORACLE_VERSION) ]) --- patch-ext_oracle_config.m4 ends here --- --- configure.php.diff begins here --- --- configure.php.orig Mon Sep 23 08:28:54 2002 +++ configure.php Thu Oct 31 11:35:38 2002 @@ -27,6 +27,7 @@ IMAP "IMAP support" OFF \ IMAP-SSL "IMAP-SSL support (implies IMAP)" OFF \ MySQL "MySQL database support" ON \ +Oracle7 "Oracle 7 database support" OFF \ PostgreSQL "PostgreSQL database support" OFF \ SybaseDB "Sybase/MS-SQL database support (DB-lib)" OFF \ SybaseCT "Sybase/MS-SQL database support (CT-lib)" OFF \ @@ -166,6 +167,10 @@ \"MySQL\") echo "LIB_DEPENDS+= mysqlclient.10:\${PORTSDIR}/databases/mysql323-client" echo "CONFIGURE_ARGS+=--with-mysql=\${LOCALBASE}" + ;; + \"Oracle7\") + echo "BUILD_DEPENDS+= \${LOCALBASE}/oracle7/rdbms/demo/oracle.mk:\$(PORTSDIR)/databases/oracle7-client" + echo "CONFIGURE_ARGS+=--with-oracle=\$(LOCALBASE)/oracle7" ;; \"PostgreSQL\") echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7" --- configure.php.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message