Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2018 15:32:45 +0000 (UTC)
From:      Luca Pizzamiglio <pizzamig@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486096 - head/devel/gdb
Message-ID:  <201811281532.wASFWjf2052502@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pizzamig
Date: Wed Nov 28 15:32:45 2018
New Revision: 486096
URL: https://svnweb.freebsd.org/changeset/ports/486096

Log:
  devel/gdb: Add NLS option
  
  Add NLS option (default ON, so no portrevision bump is needed)
  While I'm here, get rid of FreeBSD 10.x bits

Modified:
  head/devel/gdb/Makefile

Modified: head/devel/gdb/Makefile
==============================================================================
--- head/devel/gdb/Makefile	Wed Nov 28 15:28:02 2018	(r486095)
+++ head/devel/gdb/Makefile	Wed Nov 28 15:32:45 2018	(r486096)
@@ -18,12 +18,10 @@ ONLY_FOR_ARCHS=	aarch64 amd64 armv6 armv7 i386 mips po
 LIB_DEPENDS=	libmpfr.so:math/mpfr
 TEST_DEPENDS=	runtest:misc/dejagnu
 
+USES=		compiler:c++11-lang cpe gmake libtool tar:xz
+
 TEST_TARGET=	check
-# XXX: This should be compiler:c++11-lib as GDB doesn't really require
-# C++14.  However, clang in 10.3 crashes while building this port.
-# Requiring C++14 forces 10.3 to use an external version of clang while
-# still using the base system clang on 11.0 and later.
-USES=		compiler:c++14-lang cpe gettext-runtime gmake libtool tar:xz
+
 USE_CSTD=	gnu89
 CPE_VENDOR=	gnu
 GNU_CONFIGURE=	yes
@@ -46,9 +44,9 @@ LIB_DEPENDS+=	libexpat.so:textproc/expat2
 VER=		${PORTVERSION:S/.//g}
 PLIST_SUB=	VER=${VER}
 
-OPTIONS_DEFINE=	DEBUG GDB_LINK GUILE KGDB PYTHON TUI
+OPTIONS_DEFINE=	DEBUG GDB_LINK GUILE KGDB NLS PYTHON TUI
 
-OPTIONS_DEFAULT=	GDB_LINK KGDB PYTHON TUI PORT_READLINE PORT_ICONV SYSTEM_ZLIB
+OPTIONS_DEFAULT=	GDB_LINK KGDB NLS PYTHON TUI PORT_READLINE PORT_ICONV SYSTEM_ZLIB
 
 OPTIONS_SINGLE=	READLINE ICONV ZLIB
 OPTIONS_SINGLE_READLINE=	BUNDLED_READLINE PORT_READLINE
@@ -72,6 +70,7 @@ DEBUG_CFLAGS=		-g
 GUILE_CONFIGURE_WITH=	guile
 GUILE_USES=		pkgconfig
 GUILE_LIB_DEPENDS=	libguile-2.0.so:lang/guile2
+NLS_USES=	gettext-runtime
 PORT_READLINE_USES=	readline:port
 PORT_ICONV_USES=	iconv:wchar_t
 PYTHON_CONFIGURE_ON=	--with-python=${PYTHON_CMD}



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