aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2023-03-07 14:42:46 +0600
committerEric Joldasov <bratishkaerik@getgoogleoff.me>2023-03-07 14:43:31 +0600
commita2b58e6e72311d39f49141d8a389fc66d8db67e0 (patch)
tree0fb31ade13494a4cc15436dbcd24e37542efdd51 /dev-zig
parentprofiles: mask dev-python/pysftp (diff)
downloadguru-a2b58e6e72311d39f49141d8a389fc66d8db67e0.tar.gz
guru-a2b58e6e72311d39f49141d8a389fc66d8db67e0.tar.bz2
guru-a2b58e6e72311d39f49141d8a389fc66d8db67e0.zip
dev-zig/zls: fix for 9999
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Diffstat (limited to 'dev-zig')
-rw-r--r--dev-zig/zls/zls-9999.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-zig/zls/zls-9999.ebuild b/dev-zig/zls/zls-9999.ebuild
index b61f8139d..267e3221a 100644
--- a/dev-zig/zls/zls-9999.ebuild
+++ b/dev-zig/zls/zls-9999.ebuild
@@ -20,6 +20,13 @@ RDEPEND="${DEPEND}"
# For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc.
QA_FLAGS_IGNORED="usr/bin/zls"
+src_unpack() {
+ git-r3_src_unpack
+ cd "${S}" || die
+ # "zig build" doesn't have "fetch" subcommand yet
+ zig build --help || die "Fetching Zig modules failed"
+}
+
src_compile() {
zig build -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
}