pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/libLLVM



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Jan 24 23:34:36 UTC 2023

Modified Files:
        pkgsrc/lang/libLLVM: options.mk

Log Message:
libLLVM: pkglint cleanups


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/libLLVM/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/libLLVM/options.mk
diff -u pkgsrc/lang/libLLVM/options.mk:1.6 pkgsrc/lang/libLLVM/options.mk:1.7
--- pkgsrc/lang/libLLVM/options.mk:1.6  Mon Oct 31 14:54:38 2022
+++ pkgsrc/lang/libLLVM/options.mk      Tue Jan 24 23:34:36 2023
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2022/10/31 14:54:38 triaxx Exp $
+# $NetBSD: options.mk,v 1.7 2023/01/24 23:34:36 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.libLLVM
 
@@ -18,21 +18,21 @@ PKG_SUPPORTED_OPTIONS+=             terminfo
 CHECK_BUILTIN.terminfo:=       yes
 .include "../../mk/terminfo.builtin.mk"
 CHECK_BUILTIN.terminfo:=       no
-.if !empty(USE_BUILTIN.terminfo:M[yY][eE][sS]) && ${OPSYS} != "FreeBSD"
+.if ${USE_BUILTIN.terminfo:tl} == yes && ${OPSYS} != "FreeBSD"
 PKG_SUGGESTED_OPTIONS+=                terminfo
 .endif
 
 # 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*)
+.if ${MACHINE_ARCH:Msparc*}
 PKG_SUGGESTED_OPTIONS+=        llvm-target-sparc
-.elif !empty(MACHINE_ARCH:Mpowerpc*)
+.elif ${MACHINE_ARCH:Mpowerpc*}
 PKG_SUGGESTED_OPTIONS+=        llvm-target-powerpc
-.elif !empty(MACHINE_ARCH:Maarch64)
+.elif ${MACHINE_ARCH} == aarch64
 PKG_SUGGESTED_OPTIONS+=        llvm-target-aarch64
-.elif !empty(MACHINE_ARCH:Mearm*)
+.elif ${MACHINE_ARCH:Mearm*}
 PKG_SUGGESTED_OPTIONS+=        llvm-target-arm
-.elif !empty(MACHINE_ARCH:M*mips*)
+.elif ${MACHINE_ARCH:M*mips*}
 PKG_SUGGESTED_OPTIONS+=        llvm-target-mips
 .else
 # X86 and everyone else get all targets by default.



Home | Main Index | Thread Index | Old Index