aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/vtwm/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/x11-wm/vtwm/Makefile b/x11-wm/vtwm/Makefile
index 7ec054066dfb..7cdfd249c9b3 100644
--- a/x11-wm/vtwm/Makefile
+++ b/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/
@@ -15,11 +15,12 @@ MAINTAINER= spam@rm-rf.kiev.ua
COMMENT= Twm with a virtual desktop and optional Motif-like features
USE_IMAKE= yes
-USE_XPM= yes
+USE_XORG= xpm
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 @@ post-patch:
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>