pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/clang



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May  5 08:24:41 UTC 2022

Modified Files:
        pkgsrc/lang/clang: Makefile.common

Log Message:
clang: Use OPSYS_VERSION to numerically compare NetBSD versions


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/lang/clang/Makefile.common

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

Modified files:

Index: pkgsrc/lang/clang/Makefile.common
diff -u pkgsrc/lang/clang/Makefile.common:1.47 pkgsrc/lang/clang/Makefile.common:1.48
--- pkgsrc/lang/clang/Makefile.common:1.47      Tue Nov 23 20:55:43 2021
+++ pkgsrc/lang/clang/Makefile.common   Thu May  5 08:24:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.47 2021/11/23 20:55:43 wiz Exp $
+# $NetBSD: Makefile.common,v 1.48 2022/05/05 08:24:41 nia Exp $
 # used by lang/clang/Makefile
 # used by lang/clang-tools-extra/Makefile
 
@@ -33,7 +33,7 @@ CMAKE_ARGS.Darwin+=   -DDEFAULT_SYSROOT=${
 
 # NetBSD < 10 did not provide ENOTRECOVERABLE
 # https://bugs.llvm.org/show_bug.cgi?id=52587
-.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[123456789].*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099949
 CXXFLAGS+=     -D_GLIBCXX_HAVE_ENOTRECOVERABLE=1
 CXXFLAGS+=     -DENOTRECOVERABLE=98
 .endif



Home | Main Index | Thread Index | Old Index