Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/zig zig: Installs a script that requires bash.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5861ae9af12b
branches:  trunk
changeset: 431542:5861ae9af12b
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 14 17:30:50 2020 +0000

description:
zig: Installs a script that requires bash.

Replace the interpreter so this doesn't fail with PKG_DEVELOPER.

Please set PKG_DEVELOPER=yes to detect problems like this!

diffstat:

 lang/zig/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 75bd0ec5cb07 -r 5861ae9af12b lang/zig/Makefile
--- a/lang/zig/Makefile Thu May 14 17:02:55 2020 +0000
+++ b/lang/zig/Makefile Thu May 14 17:30:50 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/04/18 08:08:07 adam Exp $
+# $NetBSD: Makefile,v 1.7 2020/05/14 17:30:50 nia Exp $
 
 DISTNAME=      zig-0.6.0
 CATEGORIES=    lang
@@ -11,11 +11,14 @@
 LICENSE=       mit
 
 USE_CMAKE=     yes
+USE_TOOLS+=    bash:run
 USE_LANGUAGES= c c++14
 
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=   -DDESTDIR=${DESTDIR}
 
+REPLACE_BASH+= lib/libcxxabi/src/demangle/cp-to-llvm.sh
+
 CHECK_PORTABILITY_SKIP+=       ci/azure/macos_script
 BUILDLINK_TRANSFORM+=          rm:-Werror
 



Home | Main Index | Thread Index | Old Index