From: "Keri Harris" <keri@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/gprolog/
Date: Fri, 17 Jul 2020 10:17:49 +0000 (UTC) [thread overview]
Message-ID: <1594981051.017204a626fe6fd33eaf7146d7fb82507ef969f0.keri@gentoo> (raw)
commit: 017204a626fe6fd33eaf7146d7fb82507ef969f0
Author: Keri Harris <keri <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 10:16:34 2020 +0000
Commit: Keri Harris <keri <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 10:17:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=017204a6
dev-lang/gprolog: fixed Prolog registers can only be used with GCC
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Keri Harris <keri <AT> gentoo.org>
dev-lang/gprolog/gprolog-1.4.5.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dev-lang/gprolog/gprolog-1.4.5.ebuild b/dev-lang/gprolog/gprolog-1.4.5.ebuild
index 0a47ce2d34c..9ba2832a0da 100644
--- a/dev-lang/gprolog/gprolog-1.4.5.ebuild
+++ b/dev-lang/gprolog/gprolog-1.4.5.ebuild
@@ -42,13 +42,19 @@ src_configure() {
append-ldflags -no-pie
fi
+ if tc-is-gcc && ! use x86; then
+ gprolog_use_regs=yes
+ else
+ gprolog_use_regs=no
+ fi
+
cd "${S}"/src
econf \
CFLAGS_MACHINE="${CFLAGS_MACHINE}" \
--with-c-flags="${CFLAGS}" \
--with-install-dir="${EPREFIX}"/usr/$(get_libdir)/${P} \
--with-links-dir="${EPREFIX}"/usr/bin \
- $(use_enable !x86 regs) \
+ --enable-regs=$gprolog_use_regs \
$(use_with doc doc-dir "${EPREFIX}"/usr/share/doc/${PF}) \
$(use_with doc html-dir "${EPREFIX}"/usr/share/doc/${PF}/html) \
$(use_with examples examples-dir "${EPREFIX}"/usr/share/doc/${PF}/examples)
next reply other threads:[~2020-07-17 10:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-17 10:17 Keri Harris [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-05 4:08 [gentoo-commits] repo/gentoo:master commit in: dev-lang/gprolog/ Eli Schwartz
2024-09-05 4:08 Eli Schwartz
2024-05-17 6:24 Arthur Zamarin
2024-05-17 6:24 Arthur Zamarin
2024-05-15 12:06 Sam James
2024-05-15 10:31 Sam James
2024-04-14 16:04 Arthur Zamarin
2024-03-11 22:53 Sam James
2021-04-21 18:51 Sam James
2020-07-20 18:49 Sam James
2020-07-20 18:08 Keri Harris
2020-05-28 11:01 Keri Harris
2018-09-03 11:36 Keri Harris
2018-09-02 19:14 Keri Harris
2017-04-08 21:57 Patrice Clement
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=1594981051.017204a626fe6fd33eaf7146d7fb82507ef969f0.keri@gentoo \
--to=keri@gentoo.org \
--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