tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
x11/tk90: fix default xft2 option
Hi,
Here's a short patch fixing the enabling of the default xft2 option
for x11/tk90 (and hence some ugly/unreadable rendering in
devel/git-gitk as a side effect).
bsd.options.mk must be included after PKG_SUGGESTED_OPTIONS for the
latter to have some effect. Otherwise, the suggested option is not
enabled.
Also fixing what seemed to me like an obvious typo for the aqua option.
Cheers,
Anthony
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/x11/tk90/options.mk,v
retrieving revision 1.1
diff -u -r1.1 options.mk
--- options.mk 27 Jul 2025 09:18:49 -0000 1.1
+++ options.mk 7 Oct 2025 20:40:06 -0000
@@ -5,7 +5,6 @@
#PKG_SUGGESTED_OPTIONS+=
.include "../../mk/bsd.prefs.mk"
-.include "../../mk/bsd.options.mk"
# xxx NetBSD 64bit detected but not supported in configure script:
# configure: WARNING: 64bit support being disabled -- don't know magic for this platform
@@ -23,9 +22,11 @@
.if ${OPSYS} != "Darwin"
PKG_SUGGESTED_OPTIONS+= xft2
.else
-PKG_SUPPORTED_OPTIONS+= aqua
+PKG_SUGGESTED_OPTIONS+= aqua
.endif
+.include "../../mk/bsd.options.mk"
+
# IMPORTANT: This option should be enabled on a system without X11.
# Otherwise some X11 headers are installed and will break X11 compatibility.
.if !empty(PKG_OPTIONS:Maqua)
Home |
Main Index |
Thread Index |
Old Index