diff options
author | Eric Joldasov <bratishkaerik@getgoogleoff.me> | 2023-03-07 14:42:46 +0600 |
---|---|---|
committer | Eric Joldasov <bratishkaerik@getgoogleoff.me> | 2023-03-07 14:43:31 +0600 |
commit | a2b58e6e72311d39f49141d8a389fc66d8db67e0 (patch) | |
tree | 0fb31ade13494a4cc15436dbcd24e37542efdd51 /dev-zig | |
parent | profiles: mask dev-python/pysftp (diff) | |
download | guru-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.ebuild | 7 |
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 } |