Date: Wed, 1 Oct 2003 11:57:11 -0500 (CDT) From: Kirk Strauser <kirk@strauser.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/57467: Update port: lang/php4 (add mnoGoSearch capability) Message-ID: <200310011657.h91GvB1p049624@kanga.honeypot.net> Resent-Message-ID: <200310011700.h91H0ZJK045841@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57467 >Category: ports >Synopsis: Update port: lang/php4 (add mnoGoSearch capability) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 01 10:00:35 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kirk Strauser >Release: FreeBSD 5.1-CURRENT i386 >Organization: The Strauser Group >Environment: System: FreeBSD kanga.honeypot.net 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Sep 19 14:51:41 CDT 2003 root@kanga.honeypot.net:/usr/obj/usr/src/sys/KANGA i386 >Description: This patch adds support for the www/mnoGoSearch to lang/php4. It is similar to another PR (47173) I submitted a while ago, but is against the new-style lang/php4 port. This is a tiny patch consistent with other lang/php4 knobs. Wouldn't it be fun to commit this and save a few sysadmins some grief? Sure it would! >How-To-Repeat: >Fix: diff -urN /usr/ports/lang/php4/Makefile lang/php4/Makefile --- /usr/ports/lang/php4/Makefile Wed Oct 1 06:34:23 2003 +++ lang/php4/Makefile Wed Oct 1 11:42:00 2003 @@ -127,10 +127,11 @@ ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBX \ DOMXML DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT GMP \ HYPERWAVE ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE \ - MCRYPT MHASH MIME MING MYSQL NCURSES OPENLDAP OPENSSL ORACLE \ - OVERLOAD PCNTL PCRE PDFLIB POSIX POSTGRESQL PSPELL READLINE \ - RECODE SESSION SHMOP SNMP SOCKETS SYBASEDB SYBASECT SYSVSEM \ - SYSVSHM TOKENIZER UNIXODBC WDDX XML XMLRPC XSLT YAZ YP ZIP ZLIB + MCRYPT MHASH MIME MING MNOGOSEARCH MYSQL NCURSES OPENLDAP \ + OPENSSL ORACLE OVERLOAD PCNTL PCRE PDFLIB POSIX POSTGRESQL \ + PSPELL READLINE RECODE SESSION SHMOP SNMP SOCKETS SYBASEDB \ + SYBASECT SYSVSEM SYSVSHM TOKENIZER UNIXODBC WDDX XML XMLRPC \ + XSLT YAZ YP ZIP ZLIB .for opt in ${ALL_OPTIONS} .if defined(WITH_${opt}) || defined(WITHOUT_${opt}) @@ -417,6 +418,11 @@ .if defined(WITH_MING) LIB_DEPENDS+= ming.3:${PORTSDIR}/graphics/ming CONFIGURE_ARGS+=--with-ming=${LOCALBASE} +.endif + +.if defined(WITH_MNOGOSEARCH) +LIB_DEPENDS+= udmsearch.1:${PORTSDIR}/www/mnogosearch +CONFIGURE_ARGS+=--with-mnogosearch=${LOCALBASE} .endif .if defined(WITH_MYSQL) diff -urN /usr/ports/lang/php4/scripts/configure.php lang/php4/scripts/configure.php --- /usr/ports/lang/php4/scripts/configure.php Tue Sep 30 06:50:26 2003 +++ lang/php4/scripts/configure.php Wed Oct 1 11:45:11 2003 @@ -50,6 +50,7 @@ MHASH "Crypto-hashing support" ${WITH_MHASH:-OFF} \ MIME "mime_magic support" ${WITH_MIME:-OFF} \ MING "ming shockwave flash support" ${WITH_MING:-OFF} \ +MNOGOSEARCH "mnoGoSearch web site search engine" ${WITH_MNOGOSEARCH:-OFF} \ MYSQL "MySQL database support" ${WITH_MYSQL:-OFF} \ NCURSES "ncurses support (CLI only)" ${WITH_NCURSES:-OFF} \ OPENLDAP "OpenLDAP support" ${WITH_OPENLDAP:-OFF} \ diff -urN /usr/ports/lang/php4/scripts/php4_options lang/php4/scripts/php4_options --- /usr/ports/lang/php4/scripts/php4_options Tue Sep 30 06:50:26 2003 +++ lang/php4/scripts/php4_options Wed Oct 1 11:44:09 2003 @@ -30,6 +30,7 @@ WITH_MHASH=OFF WITH_MIME=OFF WITH_MING=OFF +WITH_MNOGOSEARCH=OFF WITH_MYSQL=ON WITH_NCURSES=OFF WITH_OPENLDAP=OFF >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310011657.h91GvB1p049624>