Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2017 05:50:50 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442742 - head/net/libmdf
Message-ID:  <201706060550.v565oohK022732@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Tue Jun  6 05:50:50 2017
New Revision: 442742
URL: https://svnweb.freebsd.org/changeset/ports/442742

Log:
  net/libmdf: Add missing openssl library argument
  
  The build relies on pkg-config to supply "-lcrypto" but we're using
  OPENSSL_CFLAGS and OPENSSL_LIBS (not pkg-config), to enable libmdf to find
  openssl in base, which does not provide an openssl.pc file.
  
  The previous commit neglected to explicitly include the library to link with
  (-lcrypto), resulting in undefined references to OpenSSL functions when
  attempting to link with the libmdf library.
  
  PR:		219777
  Reported by:	Henrik Holst <henrik.holst millistream com>

Modified:
  head/net/libmdf/Makefile

Modified: head/net/libmdf/Makefile
==============================================================================
--- head/net/libmdf/Makefile	Tue Jun  6 05:09:54 2017	(r442741)
+++ head/net/libmdf/Makefile	Tue Jun  6 05:50:50 2017	(r442742)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libmdf
 PORTVERSION=	1.0.20
+PORTREVISION=	1
 CATEGORIES=	net finance
 MASTER_SITES=	https://packages.millistream.com/source/
 
@@ -19,7 +20,7 @@ USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
 
 CONFIGURE_ENV+=	OPENSSL_CFLAGS=${OPENSSLINC} \
-		OPENSSL_LIBS=${OPENSSLLIB}
+		OPENSSL_LIBS="${OPENSSLLIB} -lcrypto"
 
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check



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