Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 11:56:34 +0100 (CET)
From:      Dan Lukes <dan@obluda.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/143525: [ PATCH ] mail/alpine doesn't link against OpenSSL from ports
Message-ID:  <201002031056.o13AuYQr062743@master7.ms.mff.cuni.cz>
Resent-Message-ID: <201002031100.o13B05ap064409@freefall.freebsd.org>

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

>Number:         143525
>Category:       ports
>Synopsis:       [ PATCH ] mail/alpine 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 11:00:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Dan Lukes
>Release:        FreeBSD 7.2-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD 7.2-RELEASE-p6 i386
ports/mail/alpine/Makefile,v 1.8 2009/07/20 18:13:07

>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 11:40:34.000000000 +0100
+++ Makefile	2010-02-03 11:47:52.000000000 +0100
@@ -128,8 +128,9 @@
 .endif
 
 .if !defined(WITHOUT_SSL)
-MAKE_ARGS+=	SSLINCLUDE=${OPENSSLINC} SSLLIB=${OPENSSLLIB}
 CONFIGURE_ARGS+=	--with-ssl-dir=${OPENSSLDIR} \
+			--with-ssl-include-dir=${OPENSSLINC} \
+			--with-ssl-lib-dir=${OPENSSLLIB} \
 			--with-ssl-certs-dir=${OPENSSLDIR}/certs
 .else
 CONFIGURE_ARGS+=	--without-ssl
--- 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?201002031056.o13AuYQr062743>