git: d4e016866784 - main - ftp/curl: Use USES=localbase:ldflags instead of patch file

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 17 Feb 2025 08:44:22 UTC
The branch main has been updated by sunpoet:

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

commit d4e0168667848067a297345e39cd1a2e7e5d10cc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-17 08:11:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-17 08:11:36 +0000

    ftp/curl: Use USES=localbase:ldflags instead of patch file
---
 ftp/curl/Makefile                  |  2 +-
 ftp/curl/files/patch-lib-urldata.h | 11 -----------
 2 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile
index ba43de68c80d..8c1404ff7c7d 100644
--- a/ftp/curl/Makefile
+++ b/ftp/curl/Makefile
@@ -12,7 +12,7 @@ WWW=		https://curl.se/ \
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cpe libtool localbase pathfix perl5 shebangfix tar:xz
+USES=		cpe libtool localbase:ldflags pathfix perl5 shebangfix tar:xz
 USE_PERL5=	build
 
 CONFIGURE_ARGS=	--disable-test-bundles \
diff --git a/ftp/curl/files/patch-lib-urldata.h b/ftp/curl/files/patch-lib-urldata.h
deleted file mode 100644
index a3c592c87a4d..000000000000
--- a/ftp/curl/files/patch-lib-urldata.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/urldata.h.orig	2023-03-20 13:49:04 UTC
-+++ lib/urldata.h
-@@ -179,7 +179,7 @@ typedef CURLcode (*Curl_datastream)(struct Curl_easy *
- # elif defined HAVE_GSSAPI_GSSAPI_H
- #  include <gssapi/gssapi.h>
- # else
--#  include <gssapi.h>
-+#  include <gssapi/gssapi.h>
- # endif
- # ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
- #  include <gssapi/gssapi_generic.h>