From 1c36ca44c5ba757f8dde36a3b3fd516f8ed66514 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Fri, 1 Dec 2023 16:59:35 -0600 Subject: 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 --- user/gambit-c/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3-70-g09d2