ports/116399: [patch] x11-wm/vtwm Add NLS option
Alex Kozlov
spam at rm-rf.kiev.ua
Sun Sep 16 16:10:03 UTC 2007
>Number: 116399
>Category: ports
>Synopsis: [patch] x11-wm/vtwm Add NLS option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 16 16:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Alex Kozlov
>Release: FreeBSD 6.2
>Organization:
private
>Environment:
>Description:
Add NLS knob.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: x11-wm/vtwm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vtwm
PORTVERSION= 5.4.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= http://www.vtwm.org/downloads/
@@ -19,7 +19,8 @@
MAN1= vtwm.1
-OPTIONS= SOUND "Sound support" on
+OPTIONS= SOUND "Sound support" on \
+ NLS "Native language support" on
.include <bsd.port.pre.mk>
@@ -33,4 +34,9 @@
LIB_DEPENDS+= rplay.1:${PORTSDIR}/audio/rplay
.endif
+.if defined(WITHOUT_NLS)
+ @${REINPLACE_CMD} -i "" -e \
+ 's:^XCOMM NO_I18N_SUPPORT: NO_I18N_SUPPORT:' ${WRKSRC}/Imakefile
+.endif
+
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list