From 80edec2430339661f7fb583ac9d5bc91249cc966 Mon Sep 17 00:00:00 2001
From: Luca Barbato <lu_zero@gentoo.org>
Date: Tue, 21 Oct 2003 17:12:00 +0000
Subject: ppc related fix

---
 net-fs/shfs/ChangeLog                       |  5 ++++-
 net-fs/shfs/Manifest                        | 13 ++++++-------
 net-fs/shfs/files/shfs-gentoo-0.31-ppc.diff |  4 ++--
 net-fs/shfs/shfs-0.31-r1.ebuild             | 11 ++++++++---
 4 files changed, 20 insertions(+), 13 deletions(-)

(limited to 'net-fs/shfs')

diff --git a/net-fs/shfs/ChangeLog b/net-fs/shfs/ChangeLog
index 0a336f0963cf..a78709cd28fd 100644
--- a/net-fs/shfs/ChangeLog
+++ b/net-fs/shfs/ChangeLog
@@ -1,6 +1,9 @@
 # ChangeLog for net-fs/shfs
 # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/shfs/ChangeLog,v 1.4 2003/10/16 15:15:16 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/shfs/ChangeLog,v 1.5 2003/10/21 17:11:54 lu_zero Exp $
+
+  21 Oct 2003; <lu_zero@gentoo.org> shfs-0.31-r1.ebuild: Fixed the ppc patch 
+  and made it use src_unpack. Works again on ppc.
 
   16 Oct 2003; <drobbins@gentoo.org> shfs-0.31-r1.ebuild: Now works on AMD64;
   much thanks to Ray Russell Reese III <russ@zerotech.net> for submitting this
diff --git a/net-fs/shfs/Manifest b/net-fs/shfs/Manifest
index 586ab8c1ee04..a70318b25aca 100644
--- a/net-fs/shfs/Manifest
+++ b/net-fs/shfs/Manifest
@@ -1,11 +1,10 @@
+MD5 b8d1fceb9a0c9a577211d62d3a421127 ChangeLog 1456
+MD5 19c5d5e899a08787544dfa1caf39a9e0 shfs-0.31-r1.ebuild 2658
 MD5 6075e6f8e572e5c88478b3a09ec234cb shfs-0.31.ebuild 1761
-MD5 d394cabee4b25ba8a29f83f5a18ded9d shfs-0.31-r1.ebuild 2618
-MD5 d9b2539b59dbb04410b12a14a8c2f171 ChangeLog 1328
-MD5 6c1fade43f037362288f5f508ba5fe47 files/digest-shfs-0.31-r1 62
-MD5 307c4e9fea61efad863724d214fcb916 files/shfs-amd64-makefile.patch 653
-MD5 a47ecfb8f1ab11f208660d0b45c1a3d7 files/shfs-gentoo-0.31-makefile-root.diff 612
 MD5 d9c3f912bc5642882b84fa7f3edd8db8 files/amd.conf 842
 MD5 97e8d1e483ac538a072e0e82af787eeb files/amd.shfs 152
+MD5 a47ecfb8f1ab11f208660d0b45c1a3d7 files/shfs-gentoo-0.31-makefile-root.diff 612
+MD5 dadc96e2e75365f207cbb3e90f565821 files/shfs-gentoo-0.31-ppc.diff 707
 MD5 2b5d290ea6b4e294eb222f277012263b files/shfs.mount 1342
-MD5 d9ef6cc568f7b1bde782bcb637f31230 files/shfs-gentoo-0.31-ppc.diff 771
-MD5 6c1fade43f037362288f5f508ba5fe47 files/digest-shfs-0.31 62
+MD5 6c1fade43f037362288f5f508ba5fe47 files/digest-shfs-0.31-r1 62
+MD5 307c4e9fea61efad863724d214fcb916 files/shfs-amd64-makefile.patch 653
diff --git a/net-fs/shfs/files/shfs-gentoo-0.31-ppc.diff b/net-fs/shfs/files/shfs-gentoo-0.31-ppc.diff
index 5d7b84694ee0..faa431f60aaa 100644
--- a/net-fs/shfs/files/shfs-gentoo-0.31-ppc.diff
+++ b/net-fs/shfs/files/shfs-gentoo-0.31-ppc.diff
@@ -1,5 +1,5 @@
-*** /var/tmp/portage/shfs-0.31/work/shfs-0.31-1.orig/shfs/Makefile	Sun Jun  1 23:47:27 2003
---- /var/tmp/portage/shfs-0.31/work/shfs-0.31-1/shfs/Makefile	Sun Jun  1 23:47:58 2003
+*** shfs-0.31-1.orig/shfs/Makefile	Sun Jun  1 23:47:27 2003
+--- shfs-0.31-1/shfs/Makefile	Sun Jun  1 23:47:58 2003
 *************** SEARCHDIRS := -I- -I. -I${KERNEL_SOURCES
 *** 17,23 ****
   CC     := gcc
diff --git a/net-fs/shfs/shfs-0.31-r1.ebuild b/net-fs/shfs/shfs-0.31-r1.ebuild
index b992888c7dbf..b635dd37a260 100644
--- a/net-fs/shfs/shfs-0.31-r1.ebuild
+++ b/net-fs/shfs/shfs-0.31-r1.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/shfs/shfs-0.31-r1.ebuild,v 1.4 2003/10/16 15:15:16 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/shfs/shfs-0.31-r1.ebuild,v 1.5 2003/10/21 17:11:54 lu_zero Exp $
 
 IUSE="amd doc"
 
@@ -11,15 +11,20 @@ HOMEPAGE="http://shfs.sourceforge.net/"
 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="x86 ppc amd64"
+KEYWORDS="x86 ~ppc amd64"
 DEPEND="virtual/linux-sources
 		net-misc/openssh
 		amd? ( net-fs/am-utils )"
 
-src_compile() {
+src_unpack() {
+	unpack ${A}
+	cd ${S}
 	epatch ${FILESDIR}/shfs-gentoo-${PV}-makefile-root.diff
 	use ppc && epatch ${FILESDIR}/shfs-gentoo-${PV}-ppc.diff
 	use amd64 && epatch ${FILESDIR}/shfs-amd64-makefile.patch
+}
+
+src_compile() {
 	emake || die
 }
 
-- 
cgit v1.2.3-65-gdbad