From owner-freebsd-ports Wed Feb 6 12:50:17 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 30D9E37B41F for ; Wed, 6 Feb 2002 12:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g16Ko2c44299; Wed, 6 Feb 2002 12:50:02 -0800 (PST) (envelope-from gnats) Received: from alumni.csie.nctu.edu.tw (alumni.csie.nctu.edu.tw [140.113.209.4]) by hub.freebsd.org (Postfix) with ESMTP id DB65737B439 for ; Wed, 6 Feb 2002 12:47:10 -0800 (PST) Received: (from yinjieh@localhost) by alumni.csie.nctu.edu.tw (8.11.6/8.11.4) id g16KkbB92952; Thu, 7 Feb 2002 04:46:37 +0800 (CST) Message-Id: <200202062046.g16KkbB92952@alumni.csie.nctu.edu.tw> Date: Thu, 7 Feb 2002 04:46:37 +0800 (CST) From: Ying-Chieh Chen Reply-To: Ying-Chieh Chen To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/34671: fix problem of mod_php4 with SNMP support 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: 34671 >Category: ports >Synopsis: fix problem of mod_php4 with SNMP support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Feb 06 12:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Ying-Chieh Chen >Release: FreeBSD 4.5-STABLE i386 >Organization: HSNG and LMN lab of CCU CS >Environment: System: FreeBSD donati.cs.ccu.edu.tw 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Jan 29 19:40:45 CST 2002 root@donati.cs.ccu.edu.tw:/home2/obj/home2/src/sys/YINJIEH i386 >Description: When compiling mod_php4 with SNMP support, I got a error with openssl. So I write a patch to fix this problem. >How-To-Repeat: cd ${PORTSDIR}/www/mod_php4 make build with selection of SNMP support >Fix: Apply the following patch: diff -ruN /usr/ports/www/mod_php4/scripts/configure.php /tmp/mod_php4/scripts/configure.php --- /usr/ports/www/mod_php4/scripts/configure.php Thu Feb 7 03:51:52 2002 +++ /tmp/mod_php4/scripts/configure.php Thu Feb 7 04:28:35 2002 @@ -205,7 +205,7 @@ ;; \"SNMP\") echo "LIB_DEPENDS+= snmp.4:\${PORTSDIR}/net/net-snmp" - echo "CONFIGURE_ARGS+=--with-snmp=\${LOCALBASE} --enable-ucd-snmp-hack" + echo "CONFIGURE_ARGS+=--with-snmp=\${LOCALBASE} --enable-ucd-snmp-hack --with-openssl=\${OPENSSLBASE}" echo "USE_OPENSSL= yes" LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl" ;; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message