[patch] ports/x11/xkeyboard-config WITHOUT_NLS support
Helge Oldach
ports-x11-xkeyboard-config-may07 at oldach.net
Fri Feb 29 17:58:20 UTC 2008
>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 at 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
More information about the freebsd-x11
mailing list