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:   ports/121230: [patch] ports/x11/xkeyboard-config WITHOUT_NLS support
Message-ID:  <200802291737.m1THbERd015741@sep.oldach.net>
Resent-Message-ID: <200802291740.m1THe1cJ062103@freefall.freebsd.org>

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

>Number:         121230
>Category:       ports
>Synopsis:       [patch] ports/x11/xkeyboard-config WITHOUT_NLS support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 29 17:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Helge Oldach
>Release:        FreeBSD 6.3-1132 i386
>Organization:
>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

>Release-Note:
>Audit-Trail:
>Unformatted:



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