Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2014 19:45:15 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367772 - head/games/gnubg
Message-ID:  <201409091945.s89JjFd0051326@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409091945.s89JjFd0051326>