svn commit: r442742 - head/net/libmdf

Kubilay Kocak koobs at FreeBSD.org
Tue Jun 6 05:50:51 UTC 2017


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


More information about the svn-ports-head mailing list