public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dale Sweeney" <agooglygooglr@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/dmg2img/
Date: Thu, 13 Jun 2024 02:46:16 +0000 (UTC)	[thread overview]
Message-ID: <1718246702.af2bb4e7a671dc36294ee0bd752f8a2b964fde13.agooglygooglr@gentoo> (raw)

commit:     af2bb4e7a671dc36294ee0bd752f8a2b964fde13
Author:     Dale Sweeney <agooglygooglr <AT> gmail <DOT> com>
AuthorDate: Thu Jun 13 02:45:02 2024 +0000
Commit:     Dale Sweeney <agooglygooglr <AT> gmail <DOT> com>
CommitDate: Thu Jun 13 02:45:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af2bb4e7

dev-util/dmg2img: Fix compile step in ebuild

Signed-off-by: Dale Sweeney <agooglygooglr <AT> gmail.com>

 dev-util/dmg2img/dmg2img-9999.ebuild | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/dev-util/dmg2img/dmg2img-9999.ebuild b/dev-util/dmg2img/dmg2img-9999.ebuild
index 85115ae06..d7431763f 100755
--- a/dev-util/dmg2img/dmg2img-9999.ebuild
+++ b/dev-util/dmg2img/dmg2img-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit git-r3
+inherit toolchain-funcs git-r3
 
 EGIT_REPO_URI="https://github.com/Lekensteyn/dmg2img"
 
@@ -12,14 +12,19 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="lzfse"
 
-DEPEND="app-arch/bzip2 dev-libs/openssl sys-libs/zlib lzfse? ( dev-libs/lzfse )"
+DEPEND="
+    app-arch/bzip2
+    dev-libs/openssl
+    sys-libs/zlib
+    lzfse? ( dev-libs/lzfse )
+"
 RDEPEND="${DEPEND}"
 BDEPEND="${DEPEND}"
 
-src_configure() {
-    emake HAVE_LZFSE=$(usex lzfse 1 0)
+src_compile() {
+    emake HAVE_LZFSE=$(usex lzfse 1 0) CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 }
 
 src_install() {
-	emake DESTDIR=${D} install
+	emake DESTDIR=${ED} install
 }


             reply	other threads:[~2024-06-13  2:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13  2:46 Dale Sweeney [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-19 16:08 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/dmg2img/ Lucio Sauer
2024-08-19 16:08 Lucio Sauer
2024-08-19 16:08 Lucio Sauer
2024-08-19  5:23 Dale Sweeney
2024-08-19  0:21 Dale Sweeney
2024-08-18 17:20 Dale Sweeney
2024-06-13 19:16 Dale Sweeney
2024-06-12 22:44 Dale Sweeney

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=1718246702.af2bb4e7a671dc36294ee0bd752f8a2b964fde13.agooglygooglr@gentoo \
    --to=agooglygooglr@gmail.com \
    --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