cross-compile fix
authorMike Frysinger <vapier@gentoo.org>
Mon, 13 Dec 2004 15:29:04 +0000 (15:29 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 13 Dec 2004 15:29:04 +0000 (15:29 +0000)
sys-apps/coreutils/Manifest
sys-apps/coreutils/coreutils-5.2.1-r2.ebuild

index 848f90bde43ec10833df2dd67d7866c6d3e42ebd..143187bbfa42ec2f6e1238c1b1ce391e66a9a853 100644 (file)
@@ -1,10 +1,13 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 MD5 45d5e771d26af8b636845ec92b1341b0 ChangeLog 21889
 MD5 1ce51fdb0c8a9ce07b454d66413e6d09 coreutils-5.0-r6.ebuild 2656
 MD5 83efa457e8e155248c2ebc6899dc6646 coreutils-5.2.1.ebuild 4149
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
 MD5 a941f375b9afbe7b76fa74277e83ed4f coreutils-5.2.1-r1.ebuild 4145
 MD5 992f0ec91891e7ddbcf466dfce3dd857 coreutils-5.2.0-r2.ebuild 4172
-MD5 f61c941fc893a51794f703ac41a17dcb coreutils-5.2.1-r2.ebuild 3991
+MD5 02e978143c2b3374105f03159440e8af coreutils-5.2.1-r2.ebuild 4294
 MD5 d3828e48aebb7452db7a8f8b025da0ff files/DIR_COLORS 4041
 MD5 e80d3d87cfbe40bc56636167ae5b4768 files/digest-coreutils-5.0-r6 141
 MD5 36e1cce43ca15be334d54801e1dbb286 files/digest-coreutils-5.2.1 224
@@ -15,3 +18,10 @@ MD5 ad6c1b6661e030a48a57172f88d2960a files/coreutils-5.0.91-ppc64-1.patch 280
 MD5 dfc60c0aadb6d857701fb3fa137a12b5 files/003_all_coreutils-gentoo-uname.patch 3261
 MD5 77947b96aaadc6a33d53156b5b5e4630 files/digest-coreutils-5.2.1-r2 225
 MD5 569870ec2f958c2a2a716a7f695deb42 files/coreutils-5.2.1-unamefix.patch 485
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBvbVproRuSHgZdywRAqfZAKCSFv6Km3kRM1lZMYBB7ZxAVHQR5QCdH/Z8
+m+zw/DfthIMxTXx1N2mF7/Q=
+=l9Wx
+-----END PGP SIGNATURE-----
index 45c8abb43350a281a89a195164b4060bb69a34cf..8c25bc14fd084c3508bf320dfd696bd44c7621e4 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/coreutils/coreutils-5.2.1-r2.ebuild,v 1.3 2004/11/12 15:37:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-5.2.1-r2.ebuild,v 1.4 2004/12/13 15:29:04 vapier Exp $
 
 inherit eutils flag-o-matic
 
@@ -71,6 +71,12 @@ src_unpack() {
 
        # Sparc32 SMP bug fix -- see bug #46593
        use sparc && echo -ne "\n\n" >> ${S}/src/pr.c
+
+       # Since we've patched many .c files, the make process will 
+       # try to re-build the manpages by running `./bin --help`.  
+       # When cross-compiling, we can't do that since 'bin' isn't 
+       # a native binary, so let's just install outdated man-pages.
+       [[ ${CTARGET:-${CHOST}} != ${CHOST} ]] && touch man/*.1
 }
 
 src_compile() {