public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/qbe/
Date: Sat, 25 Jun 2022 00:38:47 +0000 (UTC)	[thread overview]
Message-ID: <1656116237.6daca6b24cdb90b1774873961ef2a97bceb10cda.lanodan@gentoo> (raw)

commit:     6daca6b24cdb90b1774873961ef2a97bceb10cda
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sat Jun 25 00:12:46 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sat Jun 25 00:17:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6daca6b2

sys-devel/qbe: Fix prefix, docs, cflags

Closes: https://bugs.gentoo.org/854072
Closes: https://bugs.gentoo.org/854069
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>

 sys-devel/qbe/{qbe-1.0.ebuild => qbe-1.0-r1.ebuild} | 9 ++++++++-
 sys-devel/qbe/qbe-9999.ebuild                       | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/sys-devel/qbe/qbe-1.0.ebuild b/sys-devel/qbe/qbe-1.0-r1.ebuild
similarity index 75%
rename from sys-devel/qbe/qbe-1.0.ebuild
rename to sys-devel/qbe/qbe-1.0-r1.ebuild
index 3013cbf73..28dcf8765 100644
--- a/sys-devel/qbe/qbe-1.0.ebuild
+++ b/sys-devel/qbe/qbe-1.0-r1.ebuild
@@ -17,6 +17,13 @@ HOMEPAGE="https://c9x.me/compile/"
 LICENSE="MIT"
 SLOT="0"
 
+DOCS=( README doc )
+
+src_compile() {
+	emake CFLAGS="-std=c99 ${CPPFLAGS} ${CFLAGS}"
+}
+
 src_install() {
-	PREFIX=/usr default
+	einstalldocs
+	emake install DESTDIR="${ED}" PREFIX=/usr
 }

diff --git a/sys-devel/qbe/qbe-9999.ebuild b/sys-devel/qbe/qbe-9999.ebuild
index 3013cbf73..28dcf8765 100644
--- a/sys-devel/qbe/qbe-9999.ebuild
+++ b/sys-devel/qbe/qbe-9999.ebuild
@@ -17,6 +17,13 @@ HOMEPAGE="https://c9x.me/compile/"
 LICENSE="MIT"
 SLOT="0"
 
+DOCS=( README doc )
+
+src_compile() {
+	emake CFLAGS="-std=c99 ${CPPFLAGS} ${CFLAGS}"
+}
+
 src_install() {
-	PREFIX=/usr default
+	einstalldocs
+	emake install DESTDIR="${ED}" PREFIX=/usr
 }


             reply	other threads:[~2022-06-25  0:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-25  0:38 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-25 18:18 [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/qbe/ Haelwenn Monnier
2022-06-23 18:41 Haelwenn Monnier
2022-06-23 18:34 [gentoo-commits] repo/proj/guru:master " Haelwenn Monnier
2022-06-23 18:32 ` [gentoo-commits] repo/proj/guru:dev " Haelwenn Monnier
2022-05-26  3:05 Haelwenn Monnier
2022-04-23 17:53 Haelwenn Monnier

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=1656116237.6daca6b24cdb90b1774873961ef2a97bceb10cda.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --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