From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-libs/kcgi/
Date: Fri, 30 Apr 2021 19:47:11 +0000 (UTC) [thread overview]
Message-ID: <1619799113.c7eff13dda8811f88acda894360f181a61c9b96b.andrewammerlaan@gentoo> (raw)
commit: c7eff13dda8811f88acda894360f181a61c9b96b
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Apr 30 16:05:42 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr 30 16:11:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7eff13d
net-libs/kcgi: Export CC and AR in src_prepare().
Build system falls back to hard-coded defaults otherwise.
Closes: https://bugs.gentoo.org/785181
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
net-libs/kcgi/kcgi-0.12.3.ebuild | 14 +++++++++-----
net-libs/kcgi/kcgi-0.12.4.ebuild | 14 +++++++++-----
net-libs/kcgi/kcgi-9999.ebuild | 14 +++++++++-----
3 files changed, 27 insertions(+), 15 deletions(-)
diff --git a/net-libs/kcgi/kcgi-0.12.3.ebuild b/net-libs/kcgi/kcgi-0.12.3.ebuild
index abebd56bc..418ef22f2 100644
--- a/net-libs/kcgi/kcgi-0.12.3.ebuild
+++ b/net-libs/kcgi/kcgi-0.12.3.ebuild
@@ -26,6 +26,13 @@ DEPEND="
test? ( net-misc/curl[static-libs] )
"
+src_prepare() {
+ export CC="$(tc-getCC)"
+ export AR="$(tc-getAR)"
+
+ default
+}
+
src_configure() {
./configure PREFIX="${EPREFIX}/usr" \
MANDIR="${EPREFIX}/usr/share/man" \
@@ -35,18 +42,15 @@ src_configure() {
}
src_compile() {
- bmake -j$(makeopts_jobs) \
- CC="$(tc-getCC)" || die
+ bmake -j$(makeopts_jobs) || die
}
src_test() {
- bmake -j$(makeopts_jobs) \
- CC="$(tc-getCC)" regress || die
+ bmake -j$(makeopts_jobs) regress || die
}
src_install() {
bmake -j$(makeopts_jobs) \
- CC="$(tc-getCC)" \
DESTDIR="${D}" \
MANDIR=/usr/share/man \
install || die
diff --git a/net-libs/kcgi/kcgi-0.12.4.ebuild b/net-libs/kcgi/kcgi-0.12.4.ebuild
index abebd56bc..418ef22f2 100644
--- a/net-libs/kcgi/kcgi-0.12.4.ebuild
+++ b/net-libs/kcgi/kcgi-0.12.4.ebuild
@@ -26,6 +26,13 @@ DEPEND="
test? ( net-misc/curl[static-libs] )
"
+src_prepare() {
+ export CC="$(tc-getCC)"
+ export AR="$(tc-getAR)"
+
+ default
+}
+
src_configure() {
./configure PREFIX="${EPREFIX}/usr" \
MANDIR="${EPREFIX}/usr/share/man" \
@@ -35,18 +42,15 @@ src_configure() {
}
src_compile() {
- bmake -j$(makeopts_jobs) \
- CC="$(tc-getCC)" || die
+ bmake -j$(makeopts_jobs) || die
}
src_test() {
- bmake -j$(makeopts_jobs) \
- CC="$(tc-getCC)" regress || die
+ bmake -j$(makeopts_jobs) regress || die
}
src_install() {
bmake -j$(makeopts_jobs) \
- CC="$(tc-getCC)" \
DESTDIR="${D}" \
MANDIR=/usr/share/man \
install || die
diff --git a/net-libs/kcgi/kcgi-9999.ebuild b/net-libs/kcgi/kcgi-9999.ebuild
index abebd56bc..418ef22f2 100644
--- a/net-libs/kcgi/kcgi-9999.ebuild
+++ b/net-libs/kcgi/kcgi-9999.ebuild
@@ -26,6 +26,13 @@ DEPEND="
test? ( net-misc/curl[static-libs] )
"
+src_prepare() {
+ export CC="$(tc-getCC)"
+ export AR="$(tc-getAR)"
+
+ default
+}
+
src_configure() {
./configure PREFIX="${EPREFIX}/usr" \
MANDIR="${EPREFIX}/usr/share/man" \
@@ -35,18 +42,15 @@ src_configure() {
}
src_compile() {
- bmake -j$(makeopts_jobs) \
- CC="$(tc-getCC)" || die
+ bmake -j$(makeopts_jobs) || die
}
src_test() {
- bmake -j$(makeopts_jobs) \
- CC="$(tc-getCC)" regress || die
+ bmake -j$(makeopts_jobs) regress || die
}
src_install() {
bmake -j$(makeopts_jobs) \
- CC="$(tc-getCC)" \
DESTDIR="${D}" \
MANDIR=/usr/share/man \
install || die
next reply other threads:[~2021-04-30 19:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-30 19:47 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-11-06 13:19 [gentoo-commits] repo/proj/guru:master commit in: net-libs/kcgi/ David Roman
2024-10-29 14:06 David Roman
2023-12-30 15:48 David Roman
2021-08-12 12:33 Florian Schmaus
2021-05-02 9:27 Theo Anderson
2021-04-30 19:47 Andrew Ammerlaan
2021-01-23 13:54 Andrew Ammerlaan
2021-01-23 13:54 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1619799113.c7eff13dda8811f88acda894360f181a61c9b96b.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox