pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/llvm llvm: clean up pkglint



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d18f152ba49
branches:  trunk
changeset: 454611:3d18f152ba49
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jun 13 19:02:30 2021 +0000

description:
llvm: clean up pkglint

diffstat:

 lang/llvm/Makefile   |   4 ++--
 lang/llvm/options.mk |  16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (55 lines):

diff -r a404ce8b5d39 -r 3d18f152ba49 lang/llvm/Makefile
--- a/lang/llvm/Makefile        Sun Jun 13 18:52:09 2021 +0000
+++ b/lang/llvm/Makefile        Sun Jun 13 19:02:30 2021 +0000
@@ -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 @@
 
 USE_LANGUAGES=         c c++14
 USE_CMAKE=             yes
-GCC_REQD+=             5.1
+GCC_REQD+=             5
 PYTHON_FOR_BUILD_ONLY= yes
 
 NOT_FOR_PLATFORM+=     *-*-alpha
diff -r a404ce8b5d39 -r 3d18f152ba49 lang/llvm/options.mk
--- a/lang/llvm/options.mk      Sun Jun 13 18:52:09 2021 +0000
+++ b/lang/llvm/options.mk      Sun Jun 13 19:02:30 2021 +0000
@@ -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 @@
 # 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