pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gcc9



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Jan 11 09:48:11 UTC 2020

Modified Files:
        pkgsrc/lang/gcc9: Makefile options.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/gcc9/Makefile \
    pkgsrc/lang/gcc9/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/gcc9/Makefile
diff -u pkgsrc/lang/gcc9/Makefile:1.3 pkgsrc/lang/gcc9/Makefile:1.4
--- pkgsrc/lang/gcc9/Makefile:1.3       Fri Jan 10 07:50:25 2020
+++ pkgsrc/lang/gcc9/Makefile   Sat Jan 11 09:48:11 2020
@@ -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
Index: pkgsrc/lang/gcc9/options.mk
diff -u pkgsrc/lang/gcc9/options.mk:1.3 pkgsrc/lang/gcc9/options.mk:1.4
--- pkgsrc/lang/gcc9/options.mk:1.3     Fri Jan 10 07:46:43 2020
+++ pkgsrc/lang/gcc9/options.mk Sat Jan 11 09:48:11 2020
@@ -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 @@ delete-installed-libgcc: .PHONY
 ###
 ### Native Language Support
 ###
+PLIST_VARS+=           nls
 .if ${PKG_OPTIONS:Mnls}
 USE_TOOLS+=            msgfmt
 CONFIGURE_ARGS+=       --enable-nls



Home | Main Index | Thread Index | Old Index