Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2018 09:50:23 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478186 - head/devel/librelp
Message-ID:  <201808270950.w7R9oN4p078696@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Mon Aug 27 09:50:23 2018
New Revision: 478186
URL: https://svnweb.freebsd.org/changeset/ports/478186

Log:
  Fix linkage against libcrypto.so when the OPENSSL option is selected.
  Previously this compiling successfully but resulting in run-time
  failures in applications (rsyslog essentially) that consumed librelp.
  
  PR:		230913
  Submitted by:	Axel.Rau@Chaos1.DE

Modified:
  head/devel/librelp/Makefile

Modified: head/devel/librelp/Makefile
==============================================================================
--- head/devel/librelp/Makefile	Mon Aug 27 09:38:10 2018	(r478185)
+++ head/devel/librelp/Makefile	Mon Aug 27 09:50:23 2018	(r478186)
@@ -3,6 +3,7 @@
 
 PORTNAME=	librelp
 PORTVERSION=	1.2.17
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://download.rsyslog.com/librelp/
 
@@ -20,7 +21,7 @@ GNUTLS_CONFIGURE_ENABLE=	tls
 
 OPENSSL_USES=			ssl
 OPENSSL_CONFIGURE_ENABLE=	tls-openssl
-OPENSSL_CONFIGURE_ENV=		OPENSSL_LIBS=${OPENSSLLIB} \
+OPENSSL_CONFIGURE_ENV=		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" \
 				OPENSSL_CFLAGS="-I ${OPENSSLINC}"
 
 USES=		libtool pathfix pkgconfig



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