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:   riastradh
Date:           Mon Jan 20 14:30:05 UTC 2025

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

Log Message:
lang/llvm: Fix some lint.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 pkgsrc/lang/llvm/Makefile
cvs rdiff -u -r1.20 -r1.21 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.103 pkgsrc/lang/llvm/Makefile:1.104
--- pkgsrc/lang/llvm/Makefile:1.103     Mon Jan 20 14:27:22 2025
+++ pkgsrc/lang/llvm/Makefile   Mon Jan 20 14:30:05 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.103 2025/01/20 14:27:22 riastradh Exp $
+# $NetBSD: Makefile,v 1.104 2025/01/20 14:30:05 riastradh Exp $
 #
 # When updating this, please also update:
 # devel/include-what-you-use
@@ -90,7 +90,7 @@ LDFLAGS.SunOS+=               -lsocket -lnsl
 SUBST_CLASSES+=                python
 SUBST_STAGE.python=    post-build
 SUBST_FILES.python=    ${CMAKE_BUILD_DIR}/bin/llvm-lit
-SUBST_SED.python+=     '1s,\#!.*python.*,\#!${PYTHONBIN},'
+SUBST_SED.python=      -e '1s,\#!.*python.*,\#!${PYTHONBIN},'
 .endif
 
 PLIST_VARS+=   notdylib
@@ -138,7 +138,7 @@ CMAKE_CONFIGURE_ARGS+=      -DPKGSRC_LLVM_PTH
 .endif
 
 .if ${USE_CROSS_COMPILE:U:tl} == "yes"
-TOOL_DEPENDS+= ${PKGNAME}:../../${PKGPATH}
+TOOL_DEPENDS+=         ${PKGNAME}:../../${PKGPATH}
 CMAKE_CONFIGURE_ARGS+= -DLLVM_TABLEGEN:STRING=${TOOLBASE:Q}/bin/llvm-tblgen
 .endif
 

Index: pkgsrc/lang/llvm/options.mk
diff -u pkgsrc/lang/llvm/options.mk:1.20 pkgsrc/lang/llvm/options.mk:1.21
--- pkgsrc/lang/llvm/options.mk:1.20    Sun Aug 25 06:18:56 2024
+++ pkgsrc/lang/llvm/options.mk Mon Jan 20 14:30:05 2025
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.20 2024/08/25 06:18:56 wiz Exp $
+# $NetBSD: options.mk,v 1.21 2025/01/20 14:30:05 riastradh Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.llvm
 
@@ -52,7 +52,7 @@ LLVM_TARGETS_TO_BUILD+=       ${tgt}
 
 .for tgt in ${LLVM_EXPERIMENTAL_TARGETS}
 .  if !empty(PKG_OPTIONS:Mllvm-target-${tgt:tl})
-PLIST.${tgt}=  yes
+PLIST.${tgt}=          yes
 LLVM_EXPERIMENTAL_TARGETS_TO_BUILD+=   ${tgt}
 .  endif
 .endfor
@@ -72,11 +72,11 @@ CMAKE_CONFIGURE_ARGS+=      -DLLVM_ENABLE_Z3_
 .endif
 
 .if !empty(PKG_OPTIONS:Mdebug)
-RELEASE_TYPE?= debug
+RELEASE_TYPE?=         debug
 CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
 .else
 CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE=Release
-RELEASE_TYPE?= release
+RELEASE_TYPE?=         release
 .endif
 
 .if !empty(PKG_OPTIONS:Mtests)



Home | Main Index | Thread Index | Old Index