pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jul 18 18:25:29 UTC 2023

Modified Files:
        pkgsrc/lang/compiler-rt: Makefile
        pkgsrc/lang/nodejs: Makefile
        pkgsrc/lang/nodejs18: Makefile
        pkgsrc/lang/rust: Makefile

Log Message:
lang: Adapt packages to USE_(CC|CXX)_FEATURES where possible


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/compiler-rt/Makefile
cvs rdiff -u -r1.266 -r1.267 pkgsrc/lang/nodejs/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/nodejs18/Makefile
cvs rdiff -u -r1.287 -r1.288 pkgsrc/lang/rust/Makefile

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

Modified files:

Index: pkgsrc/lang/compiler-rt/Makefile
diff -u pkgsrc/lang/compiler-rt/Makefile:1.19 pkgsrc/lang/compiler-rt/Makefile:1.20
--- pkgsrc/lang/compiler-rt/Makefile:1.19       Mon Nov 14 18:44:06 2022
+++ pkgsrc/lang/compiler-rt/Makefile    Tue Jul 18 18:25:29 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2022/11/14 18:44:06 adam Exp $
+# $NetBSD: Makefile,v 1.20 2023/07/18 18:25:29 nia Exp $
 
 .include "../../lang/llvm/version.mk"
 
@@ -13,10 +13,11 @@ LICENSE=    apache-2.0
 
 NOT_FOR_PLATFORM=      NetBSD-[0-7].*-*
 
+USE_CXX_FEATURES+=     c++14
+
 USE_CMAKE=     yes
-USE_LANGUAGES= c99 c++11
+USE_LANGUAGES= c99 c++
 USE_TOOLS+=    ggrep
-GCC_REQD+=     4.8
 SSP_SUPPORTED= no
 
 CONFIGURE_DIRS=        ${WRKDIR}/build

Index: pkgsrc/lang/nodejs/Makefile
diff -u pkgsrc/lang/nodejs/Makefile:1.266 pkgsrc/lang/nodejs/Makefile:1.267
--- pkgsrc/lang/nodejs/Makefile:1.266   Tue Jul 11 06:13:10 2023
+++ pkgsrc/lang/nodejs/Makefile Tue Jul 18 18:25:29 2023
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.266 2023/07/11 06:13:10 adam Exp $
+# $NetBSD: Makefile,v 1.267 2023/07/18 18:25:29 nia Exp $
 
 DISTNAME=      node-v20.4.0
 EXTRACT_SUFX=  .tar.xz
 
 USE_LANGUAGES= c gnu++17
-GCC_REQD+=     8
+
+USE_CXX_FEATURES+=     c++17 charconv
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
 

Index: pkgsrc/lang/nodejs18/Makefile
diff -u pkgsrc/lang/nodejs18/Makefile:1.14 pkgsrc/lang/nodejs18/Makefile:1.15
--- pkgsrc/lang/nodejs18/Makefile:1.14  Tue Jul 11 06:13:10 2023
+++ pkgsrc/lang/nodejs18/Makefile       Tue Jul 18 18:25:29 2023
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.14 2023/07/11 06:13:10 adam Exp $
+# $NetBSD: Makefile,v 1.15 2023/07/18 18:25:29 nia Exp $
 
 DISTNAME=      node-v18.16.1
 EXTRACT_SUFX=  .tar.xz
 
 USE_LANGUAGES= c gnu++17
-# <charconv>
-GCC_REQD+=     8
+
+USE_CXX_FEATURES+=     c++17 charconv
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
 

Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.287 pkgsrc/lang/rust/Makefile:1.288
--- pkgsrc/lang/rust/Makefile:1.287     Mon Jul 10 12:01:24 2023
+++ pkgsrc/lang/rust/Makefile   Tue Jul 18 18:25:29 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.287 2023/07/10 12:01:24 he Exp $
+# $NetBSD: Makefile,v 1.288 2023/07/18 18:25:29 nia Exp $
 
 DISTNAME=      rustc-1.70.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -13,7 +13,7 @@ LICENSE=      mit OR apache-2.0
 CONFLICTS+=    rust-bin-[0-9]*
 
 # LLVM requires gcc7, follow suit.  Also, uses -std=c++17
-GCC_REQD+=     7
+USE_CXX_FEATURES+=     c++17
 
 USE_GCC_RUNTIME=       yes
 USE_LANGUAGES=         c c++17



Home | Main Index | Thread Index | Old Index