git: 51a255944bc3 - main - www/edbrowse: Update to 3.8.10

From: Alfonso S. Siciliano <asiciliano_at_FreeBSD.org>
Date: Tue, 25 Feb 2025 00:16:21 UTC
The branch main has been updated by asiciliano:

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

commit 51a255944bc307f0b2a1fef7a3f8647303e8359a
Author:     Alfonso S. Siciliano <asiciliano@FreeBSD.org>
AuthorDate: 2025-02-25 00:12:02 +0000
Commit:     Alfonso S. Siciliano <asiciliano@FreeBSD.org>
CommitDate: 2025-02-25 00:14:31 +0000

    www/edbrowse: Update to 3.8.10
    
     - Delete ports patches, fixed in upstream.
     - Add Accessibiliy sub-category.
    
    ChangeLog:      https://github.com/edbrowse/edbrowse/blob/master/CHANGES
    PR:             284067
    Approved by:    bofh
    Sponsored by:   The FreeBSD Foundation
---
 www/edbrowse/Makefile                 | 16 ++++++++--------
 www/edbrowse/distinfo                 |  6 +++---
 www/edbrowse/files/patch-makefile     | 11 -----------
 www/edbrowse/files/patch-src_makefile | 20 --------------------
 4 files changed, 11 insertions(+), 42 deletions(-)

diff --git a/www/edbrowse/Makefile b/www/edbrowse/Makefile
index f16c6524af54..a588846fe521 100644
--- a/www/edbrowse/Makefile
+++ b/www/edbrowse/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	edbrowse
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.8.7
-PORTREVISION=	3
-CATEGORIES=	www editors
+DISTVERSION=	3.8.10
+CATEGORIES=	www editors accessibility
 
 MAINTAINER=	alfix86@gmail.com
 COMMENT=	Line-oriented web browser and text editor
@@ -12,17 +11,18 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libcurl.so:ftp/curl \
-		libquickjs.so:lang/quickjs \
 		libodbc.so:databases/unixODBC \
-		libpcre2-8.so:devel/pcre2
+		libpcre2-8.so:devel/pcre2 \
+		libquickjs.so:lang/quickjs
 
 USES=		compiler:c11 gmake perl5 pkgconfig readline ssl
-USE_PERL5=	build
 USE_GITHUB=	yes
+GH_ACCOUNT=	CMB
+USE_PERL5=	build
 
 MAKEFILE=	makefile
-
-GH_ACCOUNT=	CMB
+MAKE_ARGS=	QUICKJS_INCLUDE=${LOCALBASE}/include/quickjs \
+		QUICKJS_LIB=${LOCALBASE}/lib
 
 PLIST_FILES=	bin/${PORTNAME} \
 		share/man/man1/${PORTNAME}.1.gz
diff --git a/www/edbrowse/distinfo b/www/edbrowse/distinfo
index 3d1eb2c2b3cd..eea9db57adf2 100644
--- a/www/edbrowse/distinfo
+++ b/www/edbrowse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692570846
-SHA256 (CMB-edbrowse-v3.8.7_GH0.tar.gz) = 2c7f6a07e5897060527b6cc5c19c45106444e2c4d8c9799434973c352d9ce4e6
-SIZE (CMB-edbrowse-v3.8.7_GH0.tar.gz) = 990893
+TIMESTAMP = 1736883025
+SHA256 (CMB-edbrowse-v3.8.10_GH0.tar.gz) = 3c194ce45b7348211ce3ad8e3304a0eacf8b27e623cbf8c08687785f88174e03
+SIZE (CMB-edbrowse-v3.8.10_GH0.tar.gz) = 1058008
diff --git a/www/edbrowse/files/patch-makefile b/www/edbrowse/files/patch-makefile
deleted file mode 100644
index cd06747a0a9f..000000000000
--- a/www/edbrowse/files/patch-makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- makefile.orig	2022-10-04 00:20:51 UTC
-+++ makefile
-@@ -2,7 +2,7 @@ all :
- #  This only works if you are making the default target.
- 
- all :
--	cd src ; make
-+	cd src && $(MAKE)
- 
- clean :
- 	cd src ; make clean
diff --git a/www/edbrowse/files/patch-src_makefile b/www/edbrowse/files/patch-src_makefile
deleted file mode 100644
index 1d08660a15dd..000000000000
--- a/www/edbrowse/files/patch-src_makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/makefile.orig	2022-10-03 21:56:00 UTC
-+++ src/makefile
-@@ -1,7 +1,7 @@ PERL ?= perl
- #  compiler and flags
- CC ?=		cc
- PERL ?= perl
--QUICKJS_DIR ?= ../../quickjs
-+QUICKJS_DIR ?= /usr/local/include/quickjs
- CFLAGS +=	-Wall -Wno-unused -D_FILE_OFFSET_BITS=64
- ifeq ($(shell uname),Linux)
- 	PLATFORM_CFLAGS = -DEDBROWSE_ON_LINUX
-@@ -34,7 +34,7 @@ LDFLAGS = $(STRIP) $(LINKER_LIBS) -lpthread -lm
- LDFLAGS = $(STRIP) $(LINKER_LIBS) -lpthread -lm
- 
- # LDFLAGS for quickjs loading.
--QUICKJS_LDFLAGS = $(QUICKJS_DIR)/libquickjs.a -ldl
-+QUICKJS_LDFLAGS = -lquickjs
- ifeq ($(shell uname),Linux)
- 	QUICKJS_LDFLAGS += -latomic
- endif