ports/57437: [Maintainer Update] Port: lang/php4 and php5 (OpenSSL fix)

Alex Dupre sysadmin at alexdupre.com
Wed Oct 1 00:00:37 UTC 2003


>Number:         57437
>Category:       ports
>Synopsis:       [Maintainer Update] Port: lang/php4 and php5 (OpenSSL fix)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 30 17:00:34 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 4.9-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD 4.9-ALEXDUPRE i386
>Description:
Fix for the OpenSSL extension (revert the use of USE_OPENSSL).
>How-To-Repeat:
>Fix:

--- php4.diff begins here ---
--- Makefile.orig	Wed Oct  1 01:48:44 2003
+++ Makefile	Wed Oct  1 01:48:54 2003
@@ -440,7 +440,12 @@
 .endif
 
 .if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP)
-USE_OPENSSL=	yes
+.if exists(${LOCALBASE}/lib/libcrypto.so.3)
+OPENSSLBASE=	${LOCALBASE}
+LIB_DEPENDS+=	crypto.3:${PORTSDIR}/security/openssl
+.else
+OPENSSLBASE=	/usr
+.endif
 CONFIGURE_ARGS+=--with-openssl-dir=${OPENSSLBASE}
 .endif
 
--- php4.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list