aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-02 14:36:43 +0800
committerjgh <jgh@FreeBSD.org>2013-05-02 14:36:43 +0800
commit39a5b214fccf0f0502bd1b6939f7eb5199da4eac (patch)
tree521db25fba49526f3a7c5b55bb6d701a528683c6
parent073e28818a3ec622f0a382be0675f3cd5cb672b6 (diff)
downloadfreebsd-ports-gnome-39a5b214fccf0f0502bd1b6939f7eb5199da4eac.tar.gz
freebsd-ports-gnome-39a5b214fccf0f0502bd1b6939f7eb5199da4eac.tar.zst
freebsd-ports-gnome-39a5b214fccf0f0502bd1b6939f7eb5199da4eac.zip
- adoption of USES for gettext
Approved by: portmgr (bapt@)
-rw-r--r--emulators/dolphin-emu-devel/Makefile6
-rw-r--r--misc/kde4-l10n/files/bsd.l10n.mk3
2 files changed, 4 insertions, 5 deletions
diff --git a/emulators/dolphin-emu-devel/Makefile b/emulators/dolphin-emu-devel/Makefile
index ffbca9f5ab06..d282fe6350a0 100644
--- a/emulators/dolphin-emu-devel/Makefile
+++ b/emulators/dolphin-emu-devel/Makefile
@@ -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>
diff --git a/misc/kde4-l10n/files/bsd.l10n.mk b/misc/kde4-l10n/files/bsd.l10n.mk
index 0ea8697cd516..6bbcbdde8596 100644
--- a/misc/kde4-l10n/files/bsd.l10n.mk
+++ b/misc/kde4-l10n/files/bsd.l10n.mk
@@ -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