diff options
author | 2004-12-08 01:09:23 +0000 | |
---|---|---|
committer | 2004-12-08 01:09:23 +0000 | |
commit | f3aa2c88ddef0825d33691b9435210ff4ca28f80 (patch) | |
tree | fe97a25293d46a9d3aa95c0a47cbb2070c3a75fd /sys-apps/diffutils | |
parent | cross-compile fixes (Manifest recommit) (diff) | |
download | gentoo-2-f3aa2c88ddef0825d33691b9435210ff4ca28f80.tar.gz gentoo-2-f3aa2c88ddef0825d33691b9435210ff4ca28f80.tar.bz2 gentoo-2-f3aa2c88ddef0825d33691b9435210ff4ca28f80.zip |
cross-compile fixes
Diffstat (limited to 'sys-apps/diffutils')
-rw-r--r-- | sys-apps/diffutils/diffutils-2.8.4-r4.ebuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sys-apps/diffutils/diffutils-2.8.4-r4.ebuild b/sys-apps/diffutils/diffutils-2.8.4-r4.ebuild index 2c841a824336..4588b2829faf 100644 --- a/sys-apps/diffutils/diffutils-2.8.4-r4.ebuild +++ b/sys-apps/diffutils/diffutils-2.8.4-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/diffutils-2.8.4-r4.ebuild,v 1.19 2004/11/12 15:13:19 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/diffutils/diffutils-2.8.4-r4.ebuild,v 1.20 2004/12/08 01:07:51 vapier Exp $ inherit eutils flag-o-matic gnuconfig @@ -54,13 +54,10 @@ src_unpack() { } src_compile() { - econf --build=${CHOST} `use_enable nls` || die "econf" + econf $(use_enable nls) || die "econf" - if use static ; then - emake LDFLAGS=-static || die - else - emake || die - fi + use static && append-ldflags -static + emake LDFLAGS="${LDFLAGS}" || die } src_install() { @@ -69,6 +66,6 @@ src_install() { if ! use build ; then dodoc ChangeLog NEWS README else - rm -rf ${D}/usr/share/info + rm -r ${D}/usr/share/info fi } |