diff options
author | Zach van Rijn <me@zv.io> | 2023-12-01 16:59:35 -0600 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-12-01 16:59:37 -0600 |
commit | 1c36ca44c5ba757f8dde36a3b3fd516f8ed66514 (patch) | |
tree | 774403ef73dea23dae7a165cfa92f7e66d533bd5 /user/gambit-c | |
parent | ffc5216a8263713aecd4d531bc27a24bb8bccd95 (diff) | |
download | packages-1c36ca44c5ba757f8dde36a3b3fd516f8ed66514.tar.gz packages-1c36ca44c5ba757f8dde36a3b3fd516f8ed66514.tar.bz2 packages-1c36ca44c5ba757f8dde36a3b3fd516f8ed66514.tar.xz packages-1c36ca44c5ba757f8dde36a3b3fd516f8ed66514.zip |
user/gambit-c: fix naming conflict with 'gnu-ghostscript'
Gambit installs '/usr/bin/gsc' and '/usr/bin/gsi' by default.
The former conflicts with a file from GNU Ghostscript.
This commit changes the default compiler and interpreter names
to be appended with the package major version number, which
aims to preserve users' expectations during tab completion.
The script interpreters (e.g. 'gsc-script' and 'gsi-script')
are symbolic links to their respective applications and will
continue to work without needing to update script shebangs.
Ref: #1089
Diffstat (limited to 'user/gambit-c')
-rw-r--r-- | user/gambit-c/APKBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/user/gambit-c/APKBUILD b/user/gambit-c/APKBUILD index bf9852b47..2104608b9 100644 --- a/user/gambit-c/APKBUILD +++ b/user/gambit-c/APKBUILD @@ -3,7 +3,7 @@ pkgname=gambit-c pkgver=4.9.4 _pkgver=$(printf "%s" "${pkgver}" | tr . _) -pkgrel=3 +pkgrel=4 pkgdesc="An efficient implementation of the Scheme programming language." url="https://gambitscheme.org/" arch="all" @@ -52,6 +52,8 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ + --enable-compiler-name=gsc${pkgver%%.*} \ + --enable-interpreter-name=gsi${pkgver%%.*} \ --enable-single-host \ --enable-c-opt \ --enable-dynamic-clib \ |