svn commit: r542055 - head/x11/xkeyboard-config
Niclas Zeising
zeising at FreeBSD.org
Sat Jul 11 21:02:12 UTC 2020
Author: zeising
Date: Sat Jul 11 21:02:11 2020
New Revision: 542055
URL: https://svnweb.freebsd.org/changeset/ports/542055
Log:
x11/xkeyboard-config: Add NLS option
Add NLS option to x11/xkeyboard-config. This was broken in the past, but is
fixed now.
PR: 243070 (based on)
Submitted by: Andrew Romanenko
MFH: 2020Q3
Event: Julu 2020 bugathon
Modified:
head/x11/xkeyboard-config/Makefile
Modified: head/x11/xkeyboard-config/Makefile
==============================================================================
--- head/x11/xkeyboard-config/Makefile Sat Jul 11 20:57:41 2020 (r542054)
+++ head/x11/xkeyboard-config/Makefile Sat Jul 11 21:02:11 2020 (r542055)
@@ -2,6 +2,7 @@
PORTNAME= xkeyboard-config
PORTVERSION= 2.29
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= XORG/individual/data/${PORTNAME}
@@ -25,20 +26,15 @@ SHEBANG_FILES= rules/merge.py \
CONFIGURE_ARGS= --with-xkb-base=${PREFIX}/share/X11/xkb \
--with-xkb-rules-symlink=xorg
-OPTIONS_DEFINE= ETERSOFT
+OPTIONS_DEFINE= ETERSOFT NLS
ETERSOFT_DESC= Add pre-1918 Russian letters to typographic layout
+OPTIONS_SUB= yes
+
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext-tools iconv
ETERSOFT_EXTRA_PATCHES= ${FILESDIR}/etersoft-patch-symbols-typo
.include <bsd.port.options.mk>
-
-# !nls case doesn't work correctly, comment it out.
-#.if ${PORT_OPTIONS:MNLS}
-USES+= gettext-tools iconv
-PLIST_SUB+= NLS=""
-#.else
-#CONFIGURE_ARGS+=--disable-nls
-#PLIST_SUB+= NLS="@comment "
-#.endif
post-install:
@${MKDIR} ${STAGEDIR}/var/lib/xkb
More information about the svn-ports-head
mailing list