pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gcc9 lang/gcc9: enable nls on all platforms by de...
details: https://anonhg.NetBSD.org/pkgsrc/rev/698f0f175a64
branches: trunk
changeset: 407907:698f0f175a64
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jan 11 09:48:11 2020 +0000
description:
lang/gcc9: enable nls on all platforms by default
Having nls enabled on some platforms and not on others doesn't make sense
since the code for doing that didn't provide any rationale. If some
platforms don't support nls, it's better to blacklist them explicitly.
diffstat:
lang/gcc9/Makefile | 3 ++-
lang/gcc9/options.mk | 12 ++++--------
2 files changed, 6 insertions(+), 9 deletions(-)
diffs (47 lines):
diff -r 7c922db471b6 -r 698f0f175a64 lang/gcc9/Makefile
--- a/lang/gcc9/Makefile Sat Jan 11 09:41:03 2020 +0000
+++ b/lang/gcc9/Makefile Sat Jan 11 09:48:11 2020 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2020/01/10 07:50:25 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2020/01/11 09:48:11 rillig Exp $
GCC9_PKGBASE= gcc9
GCC9_VERSION= 9.2.0
DISTNAME= gcc-${GCC9_VERSION}
PKGNAME= ${GCC9_PKGBASE}-${GCC9_VERSION}
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC9_VERSION}/}
EXTRACT_SUFX= .tar.xz
diff -r 7c922db471b6 -r 698f0f175a64 lang/gcc9/options.mk
--- a/lang/gcc9/options.mk Sat Jan 11 09:41:03 2020 +0000
+++ b/lang/gcc9/options.mk Sat Jan 11 09:48:11 2020 +0000
@@ -1,16 +1,11 @@
-# $NetBSD: options.mk,v 1.3 2020/01/10 07:46:43 rillig Exp $
+# $NetBSD: options.mk,v 1.4 2020/01/11 09:48:11 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gcc9
PKG_SUPPORTED_OPTIONS= nls gcc-inplace-math gcc-c++ gcc-fortran \
gcc-go gcc-objc gcc-objc++ always-libgcc
-PKG_SUGGESTED_OPTIONS= gcc-c++ gcc-fortran gcc-objc gcc-objc++ \
- gcc-inplace-math
+PKG_SUGGESTED_OPTIONS= nls gcc-inplace-math gcc-c++ gcc-fortran \
+ gcc-objc gcc-objc++
-PLIST_VARS+= nls
-
-.if ${OPSYS} == NetBSD || ${OPSYS} == Linux || ${OPSYS} == DragonFly
-PKG_SUGGESTED_OPTIONS+= nls
-.endif
.if ${OPSYS} == "SunOS"
PKG_SUGGESTED_OPTIONS+= gcc-inplace-math always-libgcc
.endif
@@ -72,6 +67,7 @@
###
### Native Language Support
###
+PLIST_VARS+= nls
.if ${PKG_OPTIONS:Mnls}
USE_TOOLS+= msgfmt
CONFIGURE_ARGS+= --enable-nls
Home |
Main Index |
Thread Index |
Old Index