Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 23:26:57 +0100 (CET)
From:      Dan Lukes <dan@obluda.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/143536: net-mgmt/net-snmp doesn't link against OpenSSL from ports
Message-ID:  <201002032226.o13MQvuC061767@master7.ms.mff.cuni.cz>
Resent-Message-ID: <201002032230.o13MU1FA057970@freefall.freebsd.org>

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

>Number:         143536
>Category:       ports
>Synopsis:       net-mgmt/net-snmp doesn't link against OpenSSL from ports
>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:   Wed Feb 03 22:30:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Dan Lukes
>Release:        FreeBSD 7.2-RELEASE-p6 i386
>Organization:
Obludarium
>Environment:
System: FreeBSD master7.ms.mff.cuni.cz 7.2-RELEASE-p6 FreeBSD 7.2-RELEASE-p6 #4: Fri Jan 8 18:46:10 CET 2010 dan@master7.ms.mff.cuni.cz:/usr/obj/usr/src/sys/MFF-BASIC i386
$FreeBSD: ports/net-mgmt/net-snmp/Makefile,v 1.172 2009/09/17 11:47:32

>Description:
	Even make called with WITH_OPENSSL_PORT=yes the result is linked against base libraries, not port.
>How-To-Repeat:
	See description
>Fix:
	See attached patch

--- patch begins here ---
--- Makefile.orig	2010-02-03 18:55:27.000000000 +0100
+++ Makefile	2010-02-03 18:56:56.000000000 +0100
@@ -48,6 +48,8 @@
 
 .include <bsd.port.pre.mk>
 
+CONFIGURE_ARGS+=--with-openssl="${OPENSSLBASE}"
+
 .if defined(WITH_DUMMY)
 CONFIGURE_ARGS+=--with-dummy-values
 .endif
--- patch ends here ---


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



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