cp --> mv makes it work with fakeroot
authorBrandon Low <lostlogic@gentoo.org>
Wed, 30 Oct 2002 08:24:44 +0000 (08:24 +0000)
committerBrandon Low <lostlogic@gentoo.org>
Wed, 30 Oct 2002 08:24:44 +0000 (08:24 +0000)
net-nds/portmap/portmap-5b-r6.ebuild

index a885b2ba0c123e0b44c0d32dee5b2db5334166fe..43987b2a5c485b48784db571c4bc0fb581fe77e4 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-5b-r6.ebuild,v 1.8 2002/10/04 06:16:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-5b-r6.ebuild,v 1.9 2002/10/30 08:24:44 lostlogic Exp $
 
 MY_P=${PN}_${PV}eta
 A0=portmap_5beta.dif
@@ -20,7 +20,7 @@ src_unpack() {
        unpack ${A}
        cd $S || die
        patch -p0 < $FILESDIR/$A0 || die
-       cp Makefile Makefile.orig
+       mv Makefile Makefile.orig || die
        sed -e "s/-O2/$CFLAGS/" Makefile.orig > Makefile || die
 }