- adoption of USES for gettext

Approved by:	portmgr (bapt@)
This commit is contained in:
Jason Helfman 2013-05-02 06:36:43 +00:00
parent c4aecaf410
commit 524caafd20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317074
2 changed files with 4 additions and 5 deletions

View file

@ -52,10 +52,10 @@ PORTAUDIO_DESC= Enable PortAudio (mic) support
FRAMEDUMPS_DESC= Encode framedumps in AVI format
OPTIONS_DEFAULT= PORTAUDIO FRAMEDUMPS
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
USES+= gettext
PLIST_SUB+= NLS=""
.else
CMAKE_ARGS+= -DDISABLE_NLS:BOOL=ON
@ -95,4 +95,4 @@ CMAKE_ARGS+= -DENCODE_FRAMEDUMPS:BOOL=OFF
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -6,9 +6,8 @@ DIST_SUBDIR?= KDE/${PORTVERSION}/kde-l10n
USE_XZ= yes
USE_QT4= uic_build moc_build qmake_build rcc_build xml
USE_GETTEXT= yes
USE_KDE4= kdelibs kdehier kdeprefix automoc4
USES= cmake
USES= cmake gettext
MAKE_JOBS_SAFE= yes