... and potentially on other platforms with basename() in <libgen.h>? The ebuild needs to inherit flag-o-matic and include 'append-libs' (at least for IRIX). I changed the ebuild as follows, but I'm not sure if this is the best solution, or if this skips any build-steps... --- font-util-1.1.1.ebuild.dist +++ font-util-1.1.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-fonts/font-util/font-util-1.1.1.ebuild,v 1.1 2009/10/12 17:18:59 remi Exp $ -inherit x-modular +inherit x-modular flag-o-matic EGIT_REPO_URI="git://anongit.freedesktop.org/xorg/font/util" DESCRIPTION="X.Org font utilities" @@ -14,3 +14,11 @@ DEPEND="${RDEPEND}" CONFIGURE_OPTIONS="--with-mapdir=${EROOT}/usr/share/fonts/util" + +src_compile() { + [[ $CHOST == *-irix* ]] && append-libs -lgen + + econf + emake || die "emake failed." +} + (I'd attach this as a patch if I was sure that it was right...)
Actually, econf and emake should be handled by 'x_modular_src_compile', shouldn't they?
you can do the append-libs in pkg_setup phase, so you don't have to bother about any default actions that are deeply hidden in these ebuilds.
What is the status here? I would like to propose this package for inclusion into gentoo-x86 tree.
Well, the ebuild hasn't been updated so it's still broken on any prefix arch with basename() in libgen.so - but I can't see that affecting x86 at all.
We are sorry to close this bug. We lack the man-power and devotion to support mips-irix in the tree.