diff options
author | Vlastimil Babka <caster@gentoo.org> | 2010-06-29 08:44:08 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2010-06-29 08:44:08 +0000 |
commit | b100de4d8f85756f7c19813c0e9114c5eee7e61c (patch) | |
tree | 17984c42537216162d578034b2e0b8a0ec5a7905 /sys-fs/encfs | |
parent | stable x86, bug 325759 (diff) | |
download | gentoo-2-b100de4d8f85756f7c19813c0e9114c5eee7e61c.tar.gz gentoo-2-b100de4d8f85756f7c19813c0e9114c5eee7e61c.tar.bz2 gentoo-2-b100de4d8f85756f7c19813c0e9114c5eee7e61c.zip |
Fix boost detection when multiple versions are available. Patch thanks to Sebastian Luther (few) <SebastianLuther@gmx.de> and Rob MacKinnon <c4blem0nkey@gmail.com> bug #297694.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/encfs')
-rw-r--r-- | sys-fs/encfs/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/encfs/encfs-1.6.ebuild | 13 |
2 files changed, 18 insertions, 2 deletions
diff --git a/sys-fs/encfs/ChangeLog b/sys-fs/encfs/ChangeLog index c794f478d0eb..42dd98183d1c 100644 --- a/sys-fs/encfs/ChangeLog +++ b/sys-fs/encfs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/encfs # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/encfs/ChangeLog,v 1.43 2010/06/27 21:00:25 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/encfs/ChangeLog,v 1.44 2010/06/29 08:44:08 caster Exp $ + + 29 Jun 2010; Vlastimil Babka <caster@gentoo.org> encfs-1.6.ebuild: + Fix boost detection when multiple versions are available. Patch thanks to + Sebastian Luther (few) <SebastianLuther@gmx.de> and Rob MacKinnon + <c4blem0nkey@gmail.com> bug #297694. 27 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> encfs-1.6.ebuild: Remove USE="nls" wrt #277239 by Martin Väth. diff --git a/sys-fs/encfs/encfs-1.6.ebuild b/sys-fs/encfs/encfs-1.6.ebuild index 586b6aeab373..8e0d67e3f68d 100644 --- a/sys-fs/encfs/encfs-1.6.ebuild +++ b/sys-fs/encfs/encfs-1.6.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/encfs/encfs-1.6.ebuild,v 1.2 2010/06/27 21:00:25 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/encfs/encfs-1.6.ebuild,v 1.3 2010/06/29 08:44:08 caster Exp $ EAPI=2 +inherit eutils versionator + DESCRIPTION="An implementation of encrypted filesystem in user-space using FUSE" HOMEPAGE="http://www.arg0.net/encfs/" SRC_URI="http://encfs.googlecode.com/files/${P}-1.tgz" @@ -24,7 +26,16 @@ DEPEND="${RDEPEND} sys-devel/gettext" src_configure() { + BOOST_PKG="$(best_version dev-libs/boost)" + BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" + BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" + BOOST_INC="/usr/include/boost-${BOOST_VER}" + BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" + ewarn "Building with ${BOOST_PKG} support." + econf \ + --with-boost=${BOOST_INC} \ + --with-boost-libdir=${BOOST_LIB} \ --disable-dependency-tracking } |