aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Sweeney <agooglygooglr@gmail.com>2024-06-12 22:45:02 -0400
committerDale Sweeney <agooglygooglr@gmail.com>2024-06-12 22:45:02 -0400
commitaf2bb4e7a671dc36294ee0bd752f8a2b964fde13 (patch)
tree96a395bbde504e613b4b648a24442e677a46ec47 /dev-util
parentdev-libs/lzfse: Fix destdir of ebuild (diff)
downloadguru-af2bb4e7a671dc36294ee0bd752f8a2b964fde13.tar.gz
guru-af2bb4e7a671dc36294ee0bd752f8a2b964fde13.tar.bz2
guru-af2bb4e7a671dc36294ee0bd752f8a2b964fde13.zip
dev-util/dmg2img: Fix compile step in ebuild
Signed-off-by: Dale Sweeney <agooglygooglr@gmail.com>
Diffstat (limited to 'dev-util')
-rwxr-xr-xdev-util/dmg2img/dmg2img-9999.ebuild15
1 files 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
}