git: 6821e47afe93 - main - misc/trurl: Update to 0.13

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Wed, 15 May 2024 20:06:32 UTC
The branch main has been updated by otis:

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

commit 6821e47afe937153d2f3359753cb94e30c826e14
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2024-05-15 20:04:33 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2024-05-15 20:06:20 +0000

    misc/trurl: Update to 0.13
    
    Also incorporate changes from [1]
    
    PR:             278497 [1]
---
 misc/trurl/Makefile             | 11 ++++++-----
 misc/trurl/distinfo             |  6 +++---
 misc/trurl/files/patch-Makefile | 13 -------------
 3 files changed, 9 insertions(+), 21 deletions(-)

diff --git a/misc/trurl/Makefile b/misc/trurl/Makefile
index edc78180f0e4..480a09677bf8 100644
--- a/misc/trurl/Makefile
+++ b/misc/trurl/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	trurl
 DISTVERSIONPREFIX=	${PORTNAME}-
-DISTVERSION=	0.12
+DISTVERSION=	0.13
 CATEGORIES=	misc www
 
 MAINTAINER=	otis@FreeBSD.org
@@ -13,17 +13,18 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libcurl.so:ftp/curl
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
 
-USES=		gmake python:test
+USES=		gmake localbase:ldflags python:test
 USE_GITHUB=	yes
 GH_ACCOUNT=	curl
 
-MAKE_ARGS=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
-		LDFLAGS="-lcurl" \
-		LDLIBS="-L${LOCALBASE}/lib" \
+MAKE_ARGS=	TRURL_IGNORE_CURL_CONFIG=1 \
+		PYTHON3=${PYTHON_CMD}
 
 ALL_TARGET=	${PORTNAME}
 TEST_TARGET=	test
 
+LDFLAGS+=	-lcurl
+
 PLIST_FILES=	bin/trurl \
 		share/man/man1/trurl.1.gz
 
diff --git a/misc/trurl/distinfo b/misc/trurl/distinfo
index 43f410b57054..ca1f8dd45a5e 100644
--- a/misc/trurl/distinfo
+++ b/misc/trurl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713777138
-SHA256 (curl-trurl-trurl-0.12_GH0.tar.gz) = 67a1620ebb0392a9cdd8e46bc44a14e0a5d8c1a9112859fbbb525ec919d2fa9b
-SIZE (curl-trurl-trurl-0.12_GH0.tar.gz) = 45860
+TIMESTAMP = 1715802848
+SHA256 (curl-trurl-trurl-0.13_GH0.tar.gz) = 8ceeb09d0e08dc677897f26651aa625d9ad18021f881f9d5f31e5a95bb3cc047
+SIZE (curl-trurl-trurl-0.13_GH0.tar.gz) = 46408
diff --git a/misc/trurl/files/patch-Makefile b/misc/trurl/files/patch-Makefile
deleted file mode 100644
index 40ba35efd866..000000000000
--- a/misc/trurl/files/patch-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig	2024-02-20 07:14:00 UTC
-+++ Makefile
-@@ -24,10 +24,6 @@ OBJS = trurl.o
- 
- TARGET = trurl
- OBJS = trurl.o
--ifndef TRURL_IGNORE_CURL_CONFIG
--LDLIBS += $$(curl-config --libs)
--CFLAGS += $$(curl-config --cflags)
--endif
- CFLAGS += -W -Wall -Wshadow -Werror -pedantic
- CFLAGS += -Wconversion -Wmissing-prototypes -Wwrite-strings -Wsign-compare -Wno-sign-conversion
- ifndef NDEBUG