pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

emacs-git: remove otf from default - harfbuzz is the replacement



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Tue May 12 11:22:06 2026 +0200
Changeset:	ab291f25c8226e875164503c0ce37d5b6f1065c9

Modified Files:
	emacs-git/options.mk

Log Message:
emacs-git: remove otf from default - harfbuzz is the replacement

add default-on gmp option

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ab291f25c8226e875164503c0ce37d5b6f1065c9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 emacs-git/options.mk | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diffs:
diff --git a/emacs-git/options.mk b/emacs-git/options.mk
index 8031831545..170ec68e7f 100644
--- a/emacs-git/options.mk
+++ b/emacs-git/options.mk
@@ -2,7 +2,7 @@
 
 ### Set options
 PKG_OPTIONS_VAR=			PKG_OPTIONS.emacs
-PKG_SUPPORTED_OPTIONS=			dbus gnutls imagemagick libgccjit libotf libwebp svg tree-sitter xaw3d xml
+PKG_SUPPORTED_OPTIONS=			dbus gmp gnutls imagemagick libgccjit libotf libwebp svg tree-sitter xaw3d xml
 # xaw3d is only valid with tookit = xaw
 
 PKG_OPTIONS_OPTIONAL_GROUPS+=		window-system
@@ -18,7 +18,8 @@ PKG_OPTIONS_GROUP.toolkit=		gtk3 xaw
 # imagemagick is disabled because of stability/security
 # svg is omitted because it is rarely needed and heavyweight due to the rust dependency
 # xaw3d is omitted because it is only valid with xaw
-PKG_SUGGESTED_OPTIONS=	dbus gnutls gtk3 libotf libwebp tree-sitter xml x11
+# libotf is omitted because harfbuzz is on by default and a replacement
+PKG_SUGGESTED_OPTIONS=	dbus gmp gnutls gtk3 libwebp tree-sitter xml x11
 
 .include "../../mk/bsd.fast.prefs.mk"
 
@@ -78,6 +79,16 @@ BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.17
 CONFIGURE_ARGS+=	--without-xml2
 .endif
 
+###
+### Support gmp
+###
+.if !empty(PKG_OPTIONS:Mgmp)
+.include "../../devel/gmp/buildlink3.mk"
+USE_TOOLS+=		pkg-config
+.else
+CONFIGURE_ARGS+=	--without-libgmp
+.endif
+
 ###
 ### Support gnutls
 ###


Home | Main Index | Thread Index | Old Index