x11/xkeyboard-config without NLS?
Helge Oldach
ports-x11-xkeyboard-config-may07 at oldach.net
Tue May 22 09:43:17 UTC 2007
Folks,
the entire Xorg 7.2 system doesn't rely on gettext and iconv, with one
exception: x11/xkeyboard-config.
How about the trivial patch below?
Helge
--- 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