Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 2004 14:03:07 +0100 (CET)
From:      Oliver Lehmann <oliver@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Oliver Lehmann <oliver@FreeBSD.org>
Subject:   ports/73896: fix php5-snmp if openssl is not in base
Message-ID:  <200411131303.iADD37hL053442@kartoffel.salatschuessel.net>
Resent-Message-ID: <200411131310.iADDAN16065846@freefall.freebsd.org>

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

>Number:         73896
>Category:       ports
>Synopsis:       fix php5-snmp if openssl is not in base
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 13 13:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Lehmann
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 4.10-STABLE FreeBSD 4.10-STABLE #0: Fri Jun 4 20:32:48 CEST 2004 olivleh1@kartoffel.salatschuessel.net:/usr/obj/usr/src/sys/KARTOFFEL i386


	
>Description:
	php5-snmp fails with:

	checking for C compiler default output... configure: error: C compiler cannot create executables

	config.log says, that it always uses -lssl - but no -L to determine where to  search for libssl

>How-To-Repeat:

	remove openssl from base, try to build php5-snmp
>Fix:


--- patch-net-mgmt::php5-snmp begins here ---
Index: Makefile
===================================================================
RCS file: /usr/local/cvsroot/ports/net-mgmt/php5-snmp/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	19 Jul 2004 09:18:03 -0000	1.1
+++ Makefile	13 Nov 2004 13:00:44 -0000
@@ -11,4 +11,7 @@
 
 PKGNAMESUFFIX=	-snmp
 
+USE_OPENSSL=	yes
+CONFIGURE_ENV+=	LIBS="${LIBS} -L${OPENSSLLIB}"
+
 .include "${MASTERDIR}/Makefile"
--- patch-net-mgmt::php5-snmp ends here ---


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



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