diff options
author | kmoore <kmoore@FreeBSD.org> | 2010-10-29 04:27:52 +0800 |
---|---|---|
committer | kmoore <kmoore@FreeBSD.org> | 2010-10-29 04:27:52 +0800 |
commit | 4b2251c46afa012cabc252f4ec002ca314544bc2 (patch) | |
tree | 449ed92315f78bae7cd35d6df0b6ad2605e8a45a /x11-wm/lxsession | |
parent | f63a62bf8240ab10668d0cc6bb7f69a6fb47316c (diff) | |
download | freebsd-ports-gnome-4b2251c46afa012cabc252f4ec002ca314544bc2.tar.gz freebsd-ports-gnome-4b2251c46afa012cabc252f4ec002ca314544bc2.tar.zst freebsd-ports-gnome-4b2251c46afa012cabc252f4ec002ca314544bc2.zip |
- Fix build when using WITHOUT_NLS
Reported by: lme@
Diffstat (limited to 'x11-wm/lxsession')
-rw-r--r-- | x11-wm/lxsession/Makefile | 7 |
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 " |