aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2013-06-20 04:12:32 +0800
committerjohans <johans@FreeBSD.org>2013-06-20 04:12:32 +0800
commit171c4ab2743024322da4411d57f641e30847005b (patch)
tree6c0425e4b9a74c829a4382aff325715719b83e0e /games
parenta90787bc461357d698f116ccb387f9507200e800 (diff)
downloadfreebsd-ports-gnome-171c4ab2743024322da4411d57f641e30847005b.tar.gz
freebsd-ports-gnome-171c4ab2743024322da4411d57f641e30847005b.tar.zst
freebsd-ports-gnome-171c4ab2743024322da4411d57f641e30847005b.zip
Deprecate USE_GETTEXT for USES and make it optional (depending on NLS setting)
Submitted by: jgh
Diffstat (limited to 'games')
-rw-r--r--games/gnomechess/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile
index c135b8b7cf4a..f9066fe7f013 100644
--- a/games/gnomechess/Makefile
+++ b/games/gnomechess/Makefile
@@ -21,7 +21,6 @@ USES= pathfix pkgconfig desktop-file-utils shared-mime-info
USE_GL= gl glu
USE_GNOME= gtk30 librsvg2
USE_GMAKE= yes
-USE_GETTEXT= yes
USE_XZ= yes
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
@@ -36,6 +35,7 @@ MAN6= gnome-chess.6
.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
+USES+= gettext
.else
PLIST_SUB+= NLS="@comment "
.endif