git: de32d7c7490b - main - devel/libhtp: Update version 0.5.33=>0.5.39

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 12 Mar 2022 10:33:24 UTC
The branch main has been updated by bofh:

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

commit de32d7c7490b813ec9dd8c7a09cb801ad28ce2c3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-09 16:31:57 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-12 10:33:19 +0000

    devel/libhtp: Update version 0.5.33=>0.5.39
    
    - Add USES=localbase:ldflags
    
    Relnotes: https://github.com/OISF/libhtp/releases/tag/0.5.39
---
 devel/libhtp/Makefile | 12 +++++-------
 devel/libhtp/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/devel/libhtp/Makefile b/devel/libhtp/Makefile
index 171fd2573290..31dfd849ff87 100644
--- a/devel/libhtp/Makefile
+++ b/devel/libhtp/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libhtp
-PORTVERSION=	0.5.33
+PORTVERSION=	0.5.39
 CATEGORIES=	devel
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -8,19 +8,17 @@ COMMENT=	Security-aware parser for the HTTP protocol
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		autoreconf cpe iconv:translit libtool pathfix pkgconfig
+USES=		autoreconf cpe iconv:translit libtool localbase:ldflags pathfix \
+		pkgconfig
 CPE_VENDOR=	oisf
 USE_GITHUB=	yes
-USE_LDCONFIG=	yes
-
 GH_ACCOUNT=	OISF
+USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-
 CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG}
-MAKE_ARGS=	LIBS="-lz ${ICONV_LIB}"
-LDFLAGS+=	-L${LOCALBASE}/lib
 
+MAKE_ARGS=	LIBS="-lz ${ICONV_LIB}"
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
diff --git a/devel/libhtp/distinfo b/devel/libhtp/distinfo
index c75792d202be..48f8c0bba91f 100644
--- a/devel/libhtp/distinfo
+++ b/devel/libhtp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1598238083
-SHA256 (OISF-libhtp-0.5.33_GH0.tar.gz) = 953651fdfe828805bb82dc1aa8b56187b0e2f80781727343e68ccf8afd6a9122
-SIZE (OISF-libhtp-0.5.33_GH0.tar.gz) = 496010
+TIMESTAMP = 1646764016
+SHA256 (OISF-libhtp-0.5.39_GH0.tar.gz) = d5956b49314fc6a058864130fbcf040a12584ee1e38f3b6ea52aedfa99d4c14a
+SIZE (OISF-libhtp-0.5.39_GH0.tar.gz) = 499233