aboutsummaryrefslogtreecommitdiffstats
path: root/net/libmdf/Makefile
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2017-06-06 13:50:50 +0800
committerKubilay Kocak <koobs@FreeBSD.org>2017-06-06 13:50:50 +0800
commite15711398e15ee123aacb415e93489804f9ddd53 (patch)
tree620981acf796c383d654ef8afbaa25926027e392 /net/libmdf/Makefile
parent0e53a00452f6ce9240aa7bb141a438186fa2d68d (diff)
downloadfreebsd-ports-gnome-e15711398e15ee123aacb415e93489804f9ddd53.tar.gz
freebsd-ports-gnome-e15711398e15ee123aacb415e93489804f9ddd53.tar.zst
freebsd-ports-gnome-e15711398e15ee123aacb415e93489804f9ddd53.zip
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>
Diffstat (limited to 'net/libmdf/Makefile')
-rw-r--r--net/libmdf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/libmdf/Makefile b/net/libmdf/Makefile
index c044f4ce2bab..47967efb12c9 100644
--- a/net/libmdf/Makefile
+++ b/net/libmdf/Makefile
@@ -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