Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Feb 2008 18:37:14 +0100 (CET)
From:      Helge Oldach <ports-x11-xkeyboard-config-may07@oldach.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        x11@freebsd.org
Subject:   [patch] ports/x11/xkeyboard-config WITHOUT_NLS support
Message-ID:  <200802291737.m1THbERd015741@sep.oldach.net>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Helge Oldach
>Organization:	
>Confidential:	no 
>Synopsis:	[patch] ports/x11/xkeyboard-config WITHOUT_NLS support
>Severity:	non-critical 
>Priority:	low 
>Category:	ports
>Class:		change-request 
>Release:	FreeBSD 6.3-1132 i386
>Environment:

System: FreeBSD localhost 6.3-1132 FreeBSD 6.3-1132 #0: Fri Feb 15 19:26:49 CET 2008 toor@localhost:/usr/obj/usr/src/sys/HMO i386

>Description:

Please apply the trivial patch below, it will make xkeyboard-config
honor the standard WITHOUT_NLS knob.

>How-To-Repeat:
	
>Fix:

--- Makefile.ctm	Sun May 20 09:16:38 2007
+++ Makefile	Tue May 22 11:00:12 2007
@@ -22,13 +22,18 @@
 PREFIX=		${X11BASE}
 
 USE_BZIP2=	yes
-USE_ICONV=	yes
 USE_GMAKE=	yes
-USE_GETTEXT=	yes
 USE_PERL5_BUILD=yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--with-xkb-base=${PREFIX}/share/X11/xkb \
 			--with-xkb-rules-symlink=xorg
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=        --disable-nls
+.else
+USE_ICONV=	yes
+USE_GETTEXT=	yes
+.endif
 
 post-install:
 	${MKDIR} /var/lib/xkb




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