Skip to content

Commit 050a0c6

Browse files
authored
Zig binary symbolic link fix for dev versions
1 parent 8de7971 commit 050a0c6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkgsrc/lang/zig-0.14.0/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ APPEND_VER= ${DISTNAME:S/zig-//:S/.//g:S/-//}
2323
## e.g. "zig-isolated0140" or "zig-isolated0140dev3462+edabcf619". Both
2424
## should be able to be installed at the same time.
2525
PKGNAME= ${DISTNAME:S/zig-/zig-isolated${APPEND_VER}-/}
26-
PKGREVISION= 1
26+
PKGREVISION= 2
2727
CATEGORIES= lang
2828
## https://ziglang.org/builds/ is the official
2929
MASTER_SITES= https://ziglang.org/builds/
@@ -33,8 +33,9 @@ EXTRACT_SUFX= .tar.xz
3333
## Used mainly for /usr/pkg/xx directory and binary symlink name.
3434
## e.g. If this is "zig-0.14.0" (a) zig will be installed in
3535
## /usr/pkg/zig-0.14.0, (b) symlinked as /usr/pkg/bin/zig-0.14.0 and
36-
## (c) can be used by running "zig-0.14.0".
37-
PACKAGE_SLUG= zig-${PKGVERSION_NOREV}
36+
## (c) can be used by running "zig-0.14.0". Replaces "+" with "_" for
37+
## broken symbolic link fix for dev versions.
38+
PACKAGE_SLUG= ${DISTNAME:S/+/_/}
3839

3940
MAINTAINER= [email protected]
4041
HOMEPAGE= https://ziglang.org/

0 commit comments

Comments
 (0)