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 EAPI=8
inherit git-r3 inherit toolchain-funcs git-r3
EGIT_REPO_URI="https://github.com/Lekensteyn/dmg2img" EGIT_REPO_URI="https://github.com/Lekensteyn/dmg2img"
@@ -12,14 +12,19 @@ LICENSE="GPL-2"
SLOT="0" SLOT="0"
IUSE="lzfse" 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}" RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}" BDEPEND="${DEPEND}"
src_configure() { src_compile() {
emake HAVE_LZFSE=$(usex lzfse 1 0) emake HAVE_LZFSE=$(usex lzfse 1 0) CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
} }
src_install() { src_install() {
emake DESTDIR=${D} install emake DESTDIR=${ED} install
} }