summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-03-28 07:59:25 +0000
committerTim Harder <radhermit@gentoo.org>2012-03-28 07:59:25 +0000
commit754c64fd0b234f142f10bf26f0940ca29d421cfa (patch)
tree9f0b06db4a53454f3c0a165262cfade14306f249 /sys-fs
parentStable for amd64, wrt bug #404821 (diff)
downloadgentoo-2-754c64fd0b234f142f10bf26f0940ca29d421cfa.tar.gz
gentoo-2-754c64fd0b234f142f10bf26f0940ca29d421cfa.tar.bz2
gentoo-2-754c64fd0b234f142f10bf26f0940ca29d421cfa.zip
Version bump. Respect CFLAGS and add debug use flag.
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/bindfs/ChangeLog10
-rw-r--r--sys-fs/bindfs/bindfs-1.10.1.ebuild31
-rw-r--r--sys-fs/bindfs/files/bindfs-1.10.1-cflags.patch13
3 files changed, 52 insertions, 2 deletions
diff --git a/sys-fs/bindfs/ChangeLog b/sys-fs/bindfs/ChangeLog
index c90bf8204cf6..4c3743eaa24a 100644
--- a/sys-fs/bindfs/ChangeLog
+++ b/sys-fs/bindfs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/bindfs
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/bindfs/ChangeLog,v 1.1 2011/12/06 12:28:53 radhermit Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/bindfs/ChangeLog,v 1.2 2012/03/28 07:59:25 radhermit Exp $
+
+*bindfs-1.10.1 (28 Mar 2012)
+
+ 28 Mar 2012; Tim Harder <radhermit@gentoo.org> +bindfs-1.10.1.ebuild,
+ +files/bindfs-1.10.1-cflags.patch:
+ Version bump. Respect CFLAGS and add debug use flag.
*bindfs-1.9 (06 Dec 2011)
diff --git a/sys-fs/bindfs/bindfs-1.10.1.ebuild b/sys-fs/bindfs/bindfs-1.10.1.ebuild
new file mode 100644
index 000000000000..cb863a996769
--- /dev/null
+++ b/sys-fs/bindfs/bindfs-1.10.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/bindfs/bindfs-1.10.1.ebuild,v 1.1 2012/03/28 07:59:25 radhermit Exp $
+
+EAPI="4"
+
+inherit eutils autotools
+
+DESCRIPTION="A FUSE filesystem for mounting a directory to another location and altering permissions"
+HOMEPAGE="http://code.google.com/p/bindfs/"
+SRC_URI="http://bindfs.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="sys-fs/fuse"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+RESTRICT="test"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable debug)
+}
diff --git a/sys-fs/bindfs/files/bindfs-1.10.1-cflags.patch b/sys-fs/bindfs/files/bindfs-1.10.1-cflags.patch
new file mode 100644
index 000000000000..6ed9d1305b29
--- /dev/null
+++ b/sys-fs/bindfs/files/bindfs-1.10.1-cflags.patch
@@ -0,0 +1,13 @@
+--- bindfs-1.10.1/configure.ac
++++ bindfs-1.10.1/configure.ac
+@@ -15,10 +15,7 @@
+
+
+ if test x"$enable_debug" == "xyes" ; then
+- CFLAGS="${CFLAGS} -g -O0 -DMALLOC_CHECK_=2"
+ AC_DEFINE([BINDFS_DEBUG], [1], [Define to 1 to enable debugging messages])
+-else
+- CFLAGS="${CFLAGS} -O2"
+ fi
+
+ if test x"$with_core_foundation" == "xyes" ; then