Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 04:46:37 +0800 (CST)
From:      Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34671: fix problem of mod_php4 with SNMP support
Message-ID:  <200202062046.g16KkbB92952@alumni.csie.nctu.edu.tw>

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

>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




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