aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/lxsession
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/lxsession')
-rw-r--r--x11-wm/lxsession/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11-wm/lxsession/Makefile b/x11-wm/lxsession/Makefile
index 643108a54e80..afe915b814aa 100644
--- a/x11-wm/lxsession/Makefile
+++ b/x11-wm/lxsession/Makefile
@@ -27,12 +27,13 @@ USE_LDCONFIG= yes
MAN1= lxsession.1 lxsession-logout.1
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "