summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-03-06 21:29:19 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-03-06 21:29:19 +0000
commit9f92c75111033bc4396ffed7ca0036507a27301a (patch)
tree017cd007740ccfc8ddfb83e922cd4c29da7695f3 /net-misc/rsync
parent Filtering out -fprefetch-loop-arrays. Closes #16919. (diff)
downloadgentoo-2-9f92c75111033bc4396ffed7ca0036507a27301a.tar.gz
gentoo-2-9f92c75111033bc4396ffed7ca0036507a27301a.tar.bz2
gentoo-2-9f92c75111033bc4396ffed7ca0036507a27301a.zip
fixes bug #16921
Diffstat (limited to 'net-misc/rsync')
-rw-r--r--net-misc/rsync/ChangeLog5
-rw-r--r--net-misc/rsync/rsync-2.5.6-r1.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/net-misc/rsync/ChangeLog b/net-misc/rsync/ChangeLog
index a6ee0c43c6d8..5544d96f44fd 100644
--- a/net-misc/rsync/ChangeLog
+++ b/net-misc/rsync/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for net-misc/rsync
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.22 2003/02/25 15:32:43 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.23 2003/03/06 21:29:19 lu_zero Exp $
+ 06 Mar 2003; Luca Barbato <lu_zero@gentoo.org> :
+ force -lpthread link on gcc-2.95.x, solves bug #16921
+
24 Feb 2003; Luca Barbato <lu_zero@gentoo.org> :
Added the popt in DEPEND
diff --git a/net-misc/rsync/rsync-2.5.6-r1.ebuild b/net-misc/rsync/rsync-2.5.6-r1.ebuild
index 59af52848d36..4779fe9f8d6c 100644
--- a/net-misc/rsync/rsync-2.5.6-r1.ebuild
+++ b/net-misc/rsync/rsync-2.5.6-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-misc/rsync/rsync-2.5.6-r1.ebuild,v 1.3 2003/02/25 15:32:43 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-2.5.6-r1.ebuild,v 1.4 2003/03/06 21:29:19 lu_zero Exp $
DESCRIPTION="File transfer program to keep remote files into sync"
HOMEPAGE="http://rsync.samba.org/"
@@ -33,6 +33,10 @@ src_compile() {
[ -n "$(use build)" ] \
&& POPTSETTING="--with-included-popt" \
|| POPTSETTING=""
+ [ -z "${CC}" ] && CC=gcc
+ if [ "`${CC} -dumpversion | cut -d. -f1,2`" = "2.95" ] ; then
+ export LDFLAGS="${LDFLAGS} -lpthread"
+ fi
econf ${POPTSETTING} || die
use static && export LDFLAGS="${LDFLAGS} -static"
emake || die