svn commit: r367772 - head/games/gnubg
Adam Weinberger
adamw at FreeBSD.org
Tue Sep 9 19:45:15 UTC 2014
Author: adamw
Date: Tue Sep 9 19:45:14 2014
New Revision: 367772
URL: http://svnweb.freebsd.org/changeset/ports/367772
QAT: https://qat.redports.org/buildarchive/r367772/
Log:
Fix build on 8 and 9. While here, use OPTIONS helpers.
Modified:
head/games/gnubg/Makefile
Modified: head/games/gnubg/Makefile
==============================================================================
--- head/games/gnubg/Makefile Tue Sep 9 19:43:02 2014 (r367771)
+++ head/games/gnubg/Makefile Tue Sep 9 19:45:14 2014 (r367772)
@@ -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
More information about the svn-ports-all
mailing list