Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2003 01:52:02 +0200 (CEST)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nork@FreeBSD.org
Subject:   ports/57437: [Maintainer Update] Port: lang/php4 and php5 (OpenSSL fix)
Message-ID:  <200309302352.h8UNq2Bt051998@vaio.alexdupre.com>
Resent-Message-ID: <200310010000.h9100Z90074176@freefall.freebsd.org>

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

>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:



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