diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-05-02 13:17:08 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-05-02 13:17:08 +0000 |
commit | f711ec69a86705a53ec78a3d57001c56b6c7d779 (patch) | |
tree | 67298d8c46890e4cd5d82927196c2515634ec948 /net-misc | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-f711ec69a86705a53ec78a3d57001c56b6c7d779.tar.gz gentoo-2-f711ec69a86705a53ec78a3d57001c56b6c7d779.tar.bz2 gentoo-2-f711ec69a86705a53ec78a3d57001c56b6c7d779.zip |
Added USE build,static because I wanna add rsync to the build tarball
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/rsync/files/digest-rsync-2.4.6-r3 (renamed from net-misc/rsync/files/digest-rsync-2.4.6-r2) | 0 | ||||
-rw-r--r-- | net-misc/rsync/rsync-2.4.6-r3.ebuild (renamed from net-misc/rsync/rsync-2.4.6-r2.ebuild) | 18 |
2 files changed, 13 insertions, 5 deletions
diff --git a/net-misc/rsync/files/digest-rsync-2.4.6-r2 b/net-misc/rsync/files/digest-rsync-2.4.6-r3 index aba39e5e0aa3..aba39e5e0aa3 100644 --- a/net-misc/rsync/files/digest-rsync-2.4.6-r2 +++ b/net-misc/rsync/files/digest-rsync-2.4.6-r3 diff --git a/net-misc/rsync/rsync-2.4.6-r2.ebuild b/net-misc/rsync/rsync-2.4.6-r3.ebuild index 1e4a90bff0c9..b5c8678e4092 100644 --- a/net-misc/rsync/rsync-2.4.6-r2.ebuild +++ b/net-misc/rsync/rsync-2.4.6-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-2.4.6-r2.ebuild,v 1.1 2001/04/14 18:41:42 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-2.4.6-r3.ebuild,v 1.1 2001/05/02 13:17:08 achim Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} @@ -25,15 +25,23 @@ src_unpack() { src_compile() { try ./configure --prefix=/usr --host=${CHOST} - try make + if [ "`use static`" ] ; then + try make LDFLAGS=\"-static\" + else + try make + fi } src_install () { - try make prefix=${D}/usr mandir=${D}/usr/share/man install - dodir /etc/rsync - dodoc COPYING README + if [ "`use build`" ] ; then + try make prefix=${D}/usr mandir=${D}/usr/share/man install + dodir /etc/rsync + dodoc COPYING README + else + dobin rsync + fi } |