Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2007 11:18:50 +0200 (CEST)
From:      ports-x11-xkeyboard-config-may07@oldach.net (Helge Oldach)
To:        freebsd-x11@freebsd.org
Subject:   x11/xkeyboard-config without NLS?
Message-ID:  <200705220918.l4M9IoFL036925@sep.oldach.net>

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



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