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:   jperkin
Date:           Mon Jun 17 11:27:02 UTC 2024

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

Log Message:
clang: Add full dependency on GCC on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 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.57 pkgsrc/lang/clang/Makefile.common:1.58
--- pkgsrc/lang/clang/Makefile.common:1.57      Thu May  9 14:15:51 2024
+++ pkgsrc/lang/clang/Makefile.common   Mon Jun 17 11:27:02 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.57 2024/05/09 14:15:51 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.58 2024/06/17 11:27:02 jperkin Exp $
 # used by lang/clang/Makefile
 # used by lang/clang-tools-extra/Makefile
 
@@ -123,6 +123,13 @@ SUBST_STAGE.sunos-gcc=     pre-configure
 SUBST_FILES.sunos-gcc= lib/Driver/ToolChains/Gnu.cpp
 SUBST_SED.sunos-gcc=   -e 's,@GCCBASEDIR@,${CCPATH:H:H},'
 
+# Not perfect, but should catch most common cases.  We can't simply use
+# gcc-libs as that doesn't ship the headers.
+#
+.if ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER:Mgcc}
+BUILDLINK_DEPMETHOD.${_GCC_PKGBASE}=   full
+.endif
+
 # 3.8.0 -> 3.8
 LLVM_MAJOR=    ${PKGVERSION_NOREV:C/^([0-9]+\.[0-9]+)\..*$/\1/}
 PLIST_SUBST+=  LLVM_MAJOR=${LLVM_MAJOR}



Home | Main Index | Thread Index | Old Index