diff options
author | adamw <adamw@FreeBSD.org> | 2014-09-10 03:45:14 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-09-10 03:45:14 +0800 |
commit | bcff53b6b072fc9b1c13d32325f5af20edd416cd (patch) | |
tree | ed3466b06f8f08933b11a3d19fc4f03e1b5d19db /games | |
parent | df02840bbda096f70d72be0f546b652941430666 (diff) | |
download | freebsd-ports-gnome-bcff53b6b072fc9b1c13d32325f5af20edd416cd.tar.gz freebsd-ports-gnome-bcff53b6b072fc9b1c13d32325f5af20edd416cd.tar.zst freebsd-ports-gnome-bcff53b6b072fc9b1c13d32325f5af20edd416cd.zip |
Fix build on 8 and 9. While here, use OPTIONS helpers.
Diffstat (limited to 'games')
-rw-r--r-- | games/gnubg/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile index 4d416c0c461d..d2e18299bb99 100644 --- a/games/gnubg/Makefile +++ b/games/gnubg/Makefile @@ -27,22 +27,16 @@ LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes INSTALLS_ICONS= yes INSTALL_TARGET= install-strip -USES= gmake libtool pathfix shebangfix python pkgconfig +USES= gmake libtool pathfix shebangfix python pkgconfig compiler:c++11-lang USE_AUTOTOOLS= aclocal automake libtoolize USE_GNOME= glib20 OPTIONS_DEFINE= NLS DOCS OPTIONS_DEFAULT=NLS +OPTIONS_SUB= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -CONFIGURE_ARGS+= --disable-nls -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls #pre-configure: # cd ${WRKSRC} && ./autogen.sh |