git: 65090bd626e4 - main - www/elinks: Optionize Perl support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jul 2026 19:56:33 UTC
The branch main has been updated by nxjoseph:
URL: https://cgit.FreeBSD.org/ports/commit/?id=65090bd626e4753d254b10a88160b7dd6155ded4
commit 65090bd626e4753d254b10a88160b7dd6155ded4
Author: Andre Albsmeier <mail@fbsd2.e4m.org>
AuthorDate: 2026-07-20 19:53:26 +0000
Commit: Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-07-20 19:56:12 +0000
www/elinks: Optionize Perl support
PR: 296920
Reported by: Andre Albsmeier <mail@fbsd2.e4m.org> (author)
Approved by: Dustin Marquess <jailbird@fdf.net> (maintainer)
Approved by: osa, vvd (Mentors, implicit)
---
www/elinks/Makefile | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/www/elinks/Makefile b/www/elinks/Makefile
index e5ec45bd8ff2..9e7bc2476729 100644
--- a/www/elinks/Makefile
+++ b/www/elinks/Makefile
@@ -1,5 +1,6 @@
PORTNAME= elinks
DISTVERSION= 0.19.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://github.com/rkd77/${PORTNAME}/releases/download/v${DISTVERSION}/
@@ -14,7 +15,7 @@ BUILD_DEPENDS= xmlto:textproc/xmlto
LIB_DEPENDS= libidn2.so:dns/libidn2
USES= bison:alias cpe gettext-runtime gmake iconv localbase:ldflags \
- meson perl5 pkgconfig python:build shebangfix ssl tar:xz
+ meson pkgconfig python:build shebangfix ssl tar:xz
SHEBANG_FILES= doc/tools/asciidoc/asciidoc.py doc/tools/help2xml \
src/protocol/ftp/test-ftp-parser
@@ -34,7 +35,6 @@ MESON_ARGS= -D256-colors=true \
-Dlzma=true \
-Dnntp=true \
-Dpdfdoc=false \
- -Dperl=true \
-Dsysmouse=true \
-Dtest=true \
-Dtrue-color=true
@@ -44,9 +44,9 @@ TEST_TARGET= test
LDFLAGS+= -lexecinfo -lintl
OPTIONS_DEFINE= BROTLI CSS CURL EXMODE GUILE HIGHLIGHT LIBEVENT \
- LOCAL_CGI LUA MUJS NLS NOROOT PYTHON SIXEL SMB \
+ LOCAL_CGI LUA MUJS NLS NOROOT PERL PYTHON SIXEL SMB \
SPIDERMONKEY TRE XBELMARKS ZSTD
-OPTIONS_DEFAULT= BROTLI EXMODE HIGHLIGHT
+OPTIONS_DEFAULT= BROTLI EXMODE HIGHLIGHT PERL
OPTIONS_SUB= yes
CSS_DESC= Cascading Style Sheets support (via libcss & libdom)
@@ -98,6 +98,9 @@ NLS_MESON_TRUE= gettext nls
NOROOT_MESON_TRUE= no-root
+PERL_USES= perl5
+PERL_MESON_TRUE= perl
+
PYTHON_USES= python:run
PYTHON_MESON_TRUE= python