ports/57504: lang/php4 dont start with openssl

dirk.meyer at dinoex.sub.org dirk.meyer at dinoex.sub.org
Thu Oct 2 18:50:15 UTC 2003


>Number:         57504
>Category:       ports
>Synopsis:       lang/php4 dont start with openssl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 02 11:50:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
privat
>Environment:

	FreeBSD 4.8-STABLE, FreeBSD-5.1-STABLE
	php-4.3.4RC1.tar.bz2

>Description:

	Building on a clean system,
	add WITH_OPENSSL=yes to your config.
	port compiles and build,
	but can'Ät start cause of missing symbols.
	when comiled with IMAP-SSL it is working

>How-To-Repeat:

>Fix:

	apply this patch:

RCS file: /home/pcvs/ports/lang/php4/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile	1 Oct 2003 11:34:23 -0000	1.29
+++ Makefile	2 Oct 2003 18:42:20 -0000
@@ -441,6 +439,8 @@
 
 .if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP)
 .include "${PORTSDIR}/Mk/bsd.openssl.mk"
+OPENSSL_LIBS=	-lcrypto -lssl
+CONFIGURE_ENV+=	OPENSSL_LIBS="${OPENSSL_LIBS}"
 CONFIGURE_ARGS+=--with-openssl-dir=${OPENSSLBASE}
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list