1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Fix build when using WITHOUT_NLS

Reported by: lme@
This commit is contained in:
Kris Moore 2010-10-28 20:27:52 +00:00
parent 9f8f4b1fd9
commit 177bfcca33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263704

View File

@ -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 "