-libowfat unconditionally emerges dietlibc instead of checking diet USE flag -libowfat is not available on all archs (there should be no problem to add it as ~everything, works for me on hppa) -there is a version 0.23 This ebuild fixes all of these. ~hppa is acked by GMsoft. --- /usr/local/portage/dev-libs/libowfat/libowfat-0.23.ebuild --- DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein." SRC_URI="http://dl.fefe.de/${P}.tar.bz2" HOMEPAGE="http://www.fefe.de/libowfat/" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~sparc ~ppc ~hppa" IUSE="diet" DEPEND="diet? (>=dev-libs/dietlibc-0.23) >=sys-apps/sed-4" RDEPEND="diet? (>=dev-libs/dietlibc-0.23)" src_unpack() { unpack ${A} ; cd ${S} sed -i -e "s:^CFLAGS.*:CFLAGS=-I. ${CFLAGS}:" \ -e "s:^prefix.*:prefix=/usr:" \ -e "s:^INCLUDEDIR.*:INCLUDEDIR=\${prefix}/include/libowfat:" \ GNUmakefile if use diet; then einfo "Enabling dietlibc build" sed -i -e "s:^DIET=.*:DIET=/usr/bin/diet -Os:" GNUmakefile else einfo "Disabling dietlibc build" sed -i -e "s:^DIET=.*:DIET=:" GNUmakefile fi } src_compile() { emake || die } src_install () { make \ LIBDIR=${D}/usr/lib \ MAN3DIR=${D}/usr/share/man/man3 \ INCLUDEDIR=${D}/usr/include/libowfat \ install || die } ------ Reproducible: Always Steps to Reproduce:
Please, don't paste ebuilds inline. Attach them. If you are just changing a part of the ebuild, attach only the unified diff. Thanks.
Created attachment 65599 [details, diff] patch to make ebuild aware of diet USE flag Can also be used for 0.24 which is out now
Why is that closed as needsinfo? There was no further information requested.
Created attachment 240213 [details, diff] don't require dietlibc for libowfat Patch against current libowfat ebuild.
Assigned to patrick@gentoo.org as per Rolf's request.
ping
My current ebuild can be found at http://opensource.sf-tec.de/repos/dakon-overlay/dev-libs/libowfat/
Fixed in 0.28-r1.