Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 2020 21:02:12 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r542055 - head/x11/xkeyboard-config
Message-ID:  <202007112102.06BL2CCw054867@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007112102.06BL2CCw054867>