pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/llvm



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jun 13 19:02:30 UTC 2021

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

Log Message:
llvm: clean up pkglint


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/lang/llvm/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/llvm/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/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.62 pkgsrc/lang/llvm/Makefile:1.63
--- pkgsrc/lang/llvm/Makefile:1.62      Mon May 24 19:52:33 2021
+++ pkgsrc/lang/llvm/Makefile   Sun Jun 13 19:02:30 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2021/05/24 19:52:33 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2021/06/13 19:02:30 wiz Exp $
 #
 # when updating this, please also update:
 # devel/include-what-you-use
@@ -35,7 +35,7 @@ LICENSE=      apache-2.0
 
 USE_LANGUAGES=         c c++14
 USE_CMAKE=             yes
-GCC_REQD+=             5.1
+GCC_REQD+=             5
 PYTHON_FOR_BUILD_ONLY= yes
 
 NOT_FOR_PLATFORM+=     *-*-alpha

Index: pkgsrc/lang/llvm/options.mk
diff -u pkgsrc/lang/llvm/options.mk:1.7 pkgsrc/lang/llvm/options.mk:1.8
--- pkgsrc/lang/llvm/options.mk:1.7     Mon Jul  6 07:16:00 2020
+++ pkgsrc/lang/llvm/options.mk Sun Jun 13 19:02:30 2021
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2020/07/06 07:16:00 he Exp $
+# $NetBSD: options.mk,v 1.8 2021/06/13 19:02:30 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.llvm
 
@@ -23,20 +23,20 @@ PKG_SUGGESTED_OPTIONS+=             terminfo
 # Probably safe to assume that only x86 users are interested in
 # cross-compilation for now. This saves some build time for everyone else.
 .if !empty(MACHINE_ARCH:Msparc*)
-PKG_SUGGESTED_OPTIONS+=                llvm-target-sparc
+PKG_SUGGESTED_OPTIONS+=        llvm-target-sparc
 .elif !empty(MACHINE_ARCH:Mpowerpc*)
-PKG_SUGGESTED_OPTIONS+=                llvm-target-powerpc
+PKG_SUGGESTED_OPTIONS+=        llvm-target-powerpc
 # Needed to avoid "relocation truncated to fit: R_PPC_REL24"
-CFLAGS+=       -mlongcall
-CXXFLAGS+=     -mlongcall
+CFLAGS+=               -mlongcall
+CXXFLAGS+=             -mlongcall
 .elif !empty(MACHINE_ARCH:Mearm*)
-PKG_SUGGESTED_OPTIONS+=                llvm-target-arm
+PKG_SUGGESTED_OPTIONS+=        llvm-target-arm
 .elif !empty(MACHINE_ARCH:M*mips*)
-PKG_SUGGESTED_OPTIONS+=                llvm-target-mips
+PKG_SUGGESTED_OPTIONS+=        llvm-target-mips
 .else
 # X86 and everyone else get all targets by default.
 .  for tgt in ${LLVM_TARGETS}
-PKG_SUGGESTED_OPTIONS+=                llvm-target-${tgt:tl}
+PKG_SUGGESTED_OPTIONS+=        llvm-target-${tgt:tl}
 .  endfor
 .endif
 



Home | Main Index | Thread Index | Old Index