git: b5eca56f4857 - main - net/linknx: Fix build with libesmtp 1.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 07 May 2023 16:15:05 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b5eca56f4857fa95f2fb5507e719cb2f5d199e94

commit b5eca56f4857fa95f2fb5507e719cb2f5d199e94
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-07 16:05:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-07 16:12:37 +0000

    net/linknx: Fix build with libesmtp 1.1.0
---
 net/linknx/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/linknx/Makefile b/net/linknx/Makefile
index 904f955b11e5..df74aa5eeddc 100644
--- a/net/linknx/Makefile
+++ b/net/linknx/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS=	libpthsem.so:devel/pthsem
 BUILD_DEPENDS=	${LOCALBASE}/lib/libargp.a:devel/argp-standalone
 
 USES=	compiler gmake autoreconf pkgconfig
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
@@ -32,6 +33,7 @@ LIBCURL_DESC=	Install libcurl for Clickatell SMS support
 LIBLUA_DESC=	Install liblua for scripting
 MYSQL_DESC=	Install libmysql for logging & persist
 
+LIBESMTP_CFLAGS=	-lesmtp
 LIBESMTP_CONFIGURE_ENABLE=	smtp
 LIBESMTP_LIB_DEPENDS=	libesmtp.so:mail/libesmtp
 LIBCURL_CONFIGURE_WITH=	libcurl