From 4b2251c46afa012cabc252f4ec002ca314544bc2 Mon Sep 17 00:00:00 2001 From: kmoore Date: Thu, 28 Oct 2010 20:27:52 +0000 Subject: - Fix build when using WITHOUT_NLS Reported by: lme@ --- x11-wm/lxsession/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'x11-wm/lxsession') 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 " -- cgit