diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-09-09 19:45:14 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-09-09 19:45:14 +0000 |
commit | 5a1a7f73ebec123c24511747c41afa4521cc87ee (patch) | |
tree | ed3466b06f8f08933b11a3d19fc4f03e1b5d19db /games/gnubg | |
parent | - Convert to USES=libtool and add INSTALL_TARGET=install-strip (diff) |
Fix build on 8 and 9. While here, use OPTIONS helpers.
Notes
Notes:
svn path=/head/; revision=367772
Diffstat (limited to 'games/gnubg')
-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 |