dev-util/dmg2img: Fix compile step in ebuild

Signed-off-by: Dale Sweeney <agooglygooglr@gmail.com>
This commit is contained in:
Dale Sweeney
2024-06-12 22:45:02 -04:00
parent b8afeb4470
commit af2bb4e7a6

View File

@@ -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
}