cross-compile fixes
authorMike Frysinger <vapier@gentoo.org>
Wed, 8 Dec 2004 01:07:51 +0000 (01:07 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 8 Dec 2004 01:07:51 +0000 (01:07 +0000)
sys-apps/diffutils/Manifest
sys-apps/diffutils/diffutils-2.8.4-r4.ebuild

index 86129e5af3084e1c1dab0c7fb7c700312aaa4a9c..8b944a81963dca7fa667b4c4c0e098e8f3a68222 100644 (file)
@@ -1,5 +1,8 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 MD5 f116889d9178bfcb64fd155baf3007c4 ChangeLog 4958
-MD5 62ed7fdaa1b4ffdf90ca86faac6ccbae diffutils-2.8.4-r4.ebuild 2094
+MD5 cc8c7b67c1a47c6f2b150579e10112ba diffutils-2.8.4-r4.ebuild 2072
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
 MD5 fe0dcf1334e854ccfa823376261a281b diffutils-2.8.7.ebuild 1519
 MD5 88eef724512016e5400a58e4057ef235 files/diffutils-2.8.4-Makefile-fix-typeo.patch 1158
@@ -9,3 +12,10 @@ MD5 a571ebf3fcef3b033e33a4f013521e13 files/diffutils-2.8.4-tabsize-dumps-core.di
 MD5 7abb095c2c2ecdbd465a1953cb443289 files/digest-diffutils-2.8.4-r4 67
 MD5 96bfbc8c9d4a828ec67d9d537a52d756 files/diffutils-2.8.7-no-manpage.patch 1231
 MD5 28aba2261ffb7634265a612938df28f5 files/digest-diffutils-2.8.7 68
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBtlPwroRuSHgZdywRAu81AJ0ZvJKJ7iIQDV0H6ZGcMNZuLT5f4QCdGial
+0kuRXx7pNXGQd06DQ8xBGhU=
+=SCPo
+-----END PGP SIGNATURE-----
index 2c841a824336a26a93858f71eaf0728026007c5f..4588b2829faf6fe7fb60a04c3a3c44fcb51ea398 100644 (file)
@@ -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
 }