Date: 31 Oct 2002 21:46:13 -0000 From: Joe Kelsey <joek@zircon.staff.flyingcroc.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/44796: www/mod_php4: Add support for Oracle7 Message-ID: <20021031214613.28977.qmail@zircon.staff.flyingcroc.net>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021031214613.28977.qmail>