dev-scheme/chez: export AR CC CXX LD RANLIB; format

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć
2021-11-21 22:56:58 +01:00
parent b51b6cd343
commit 1de272a5ca
2 changed files with 13 additions and 15 deletions

View File

@@ -10,6 +10,7 @@ inherit multilib
DESCRIPTION="A programming language based on R6RS"
HOMEPAGE="https://cisco.github.io/ChezScheme/ https://github.com/cisco/ChezScheme"
SRC_URI="https://github.com/cisco/ChezScheme/releases/download/v${PV}/${CSV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${CSV}"
# Chez Scheme itself is Apache 2.0, but it vendors LZ4 (BSD-2),
# Nanopass (MIT), stex (MIT), and zlib (ZLIB).
@@ -22,18 +23,16 @@ DEPEND="
X? ( x11-libs/libX11 )
ncurses? ( sys-libs/ncurses )
"
RDEPEND="
${DEPEND}
"
S="${WORKDIR}/${CSV}"
RDEPEND="${DEPEND}"
src_prepare() {
default
tc-export AR CC CXX LD RANLIB
if use ncurses; then
eapply "${FILESDIR}/tinfo.patch"
fi
default
}
src_configure() {
@@ -51,7 +50,7 @@ src_configure() {
--installscriptname=chezscheme-script
--nogzip-man-pages
)
./configure "${myconfargs[@]}" || die
sh ./configure "${myconfargs[@]}" || die
}
src_install() {

View File

@@ -1,7 +1,7 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
CSV="csv${PV}"
@@ -10,6 +10,7 @@ inherit multilib
DESCRIPTION="A programming language based on R6RS"
HOMEPAGE="https://cisco.github.io/ChezScheme/ https://github.com/cisco/ChezScheme"
SRC_URI="https://github.com/cisco/ChezScheme/releases/download/v${PV}/${CSV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${CSV}"
# Chez Scheme itself is Apache 2.0, but it vendors LZ4 (BSD-2),
# Nanopass (MIT), stex (MIT), and zlib (ZLIB).
@@ -22,18 +23,16 @@ DEPEND="
X? ( x11-libs/libX11 )
ncurses? ( sys-libs/ncurses )
"
RDEPEND="
${DEPEND}
"
S="${WORKDIR}/${CSV}"
RDEPEND="${DEPEND}"
src_prepare() {
default
tc-export AR CC CXX LD RANLIB
if use ncurses; then
eapply "${FILESDIR}/tinfo.patch"
fi
default
}
src_configure() {
@@ -51,7 +50,7 @@ src_configure() {
--installscriptname=chezscheme-script
--nogzip-man-pages
)
./configure "${myconfargs[@]}" || die
sh ./configure "${myconfargs[@]}" || die
}
src_install() {