summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-01-01 21:17:54 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-01-01 21:17:54 +0000
commit85c479746f40f0c3b67ea0add24bb7d3f1139797 (patch)
tree82083ade408a4da14c75977ac35c4ce0a09c71e1 /net-fs/curlftpfs
parentTransfer Prefix keywords (diff)
downloadgentoo-2-85c479746f40f0c3b67ea0add24bb7d3f1139797.tar.gz
gentoo-2-85c479746f40f0c3b67ea0add24bb7d3f1139797.tar.bz2
gentoo-2-85c479746f40f0c3b67ea0add24bb7d3f1139797.zip
Port Prefix patch and keywords over
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'net-fs/curlftpfs')
-rw-r--r--net-fs/curlftpfs/ChangeLog8
-rw-r--r--net-fs/curlftpfs/curlftpfs-0.9.2-r1.ebuild11
-rw-r--r--net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch17
3 files changed, 30 insertions, 6 deletions
diff --git a/net-fs/curlftpfs/ChangeLog b/net-fs/curlftpfs/ChangeLog
index be9b6981f4db..7f0d11d30612 100644
--- a/net-fs/curlftpfs/ChangeLog
+++ b/net-fs/curlftpfs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-fs/curlftpfs
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/curlftpfs/ChangeLog,v 1.16 2009/12/10 22:07:32 fauli Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/curlftpfs/ChangeLog,v 1.17 2010/01/01 21:17:53 fauli Exp $
+
+ 01 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
+ curlftpfs-0.9.2-r1.ebuild, +files/curlftpfs-0.9.2-darwin.patch:
+ Port Prefix patch and keywords over
*curlftpfs-0.9.2-r1 (10 Dec 2009)
diff --git a/net-fs/curlftpfs/curlftpfs-0.9.2-r1.ebuild b/net-fs/curlftpfs/curlftpfs-0.9.2-r1.ebuild
index 5fcf4266e787..c693885dd219 100644
--- a/net-fs/curlftpfs/curlftpfs-0.9.2-r1.ebuild
+++ b/net-fs/curlftpfs/curlftpfs-0.9.2-r1.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/curlftpfs/curlftpfs-0.9.2-r1.ebuild,v 1.1 2009/12/10 22:07:32 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/curlftpfs/curlftpfs-0.9.2-r1.ebuild,v 1.2 2010/01/01 21:17:53 fauli Exp $
+
EAPI=2
-inherit eutils
+inherit eutils autotools
DESCRIPTION="File system for accessing ftp hosts based on FUSE"
HOMEPAGE="http://curlftpfs.sourceforge.net/"
@@ -12,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
RESTRICT="test" # bug 258460
@@ -23,6 +24,8 @@ RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-64bit_filesize.patch
+ epatch "${FILESDIR}"/${PN}-0.9.2-darwin.patch
+ eautoreconf
}
src_install() {
diff --git a/net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch b/net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch
new file mode 100644
index 000000000000..c26318209da2
--- /dev/null
+++ b/net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch
@@ -0,0 +1,17 @@
+http://sourceforge.net/tracker/?func=detail&atid=816359&aid=2799820&group_id=160565
+
+diff -ur configure.ac configure.ac
+--- configure.ac 2008-04-23 15:37:42 +0400
++++ configure.ac 2009-06-02 09:46:05 +0400
+@@ -18,6 +18,11 @@
+ AC_MSG_ERROR(["We need libcurl with support for FTP protocol."])
+ fi
+
++case $host_os in
++ darwin*)
++ CFLAGS="$CFLAGS -D__off_t=off_t"
++ ;;
++esac
+ CFLAGS="$CFLAGS -Wall -W -Wno-sign-compare -D_REENTRANT $GLIB_CFLAGS $FUSE_CFLAGS $LIBCURL_CPPFLAGS"
+ LIBS="$GLIB_LIBS $FUSE_LIBS $LIBCURL"
+