diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2012-08-23 13:19:38 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2012-08-23 13:19:38 +0000 |
commit | f08a774c5c517522efcc014dad80109f79a6fafb (patch) | |
tree | 72c134d5d32ff0351ee2899f0d66d4339c5f6964 /dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild | |
parent | Depend on new path for neatx, block older versions (diff) | |
download | gentoo-2-f08a774c5c517522efcc014dad80109f79a6fafb.tar.gz gentoo-2-f08a774c5c517522efcc014dad80109f79a6fafb.tar.bz2 gentoo-2-f08a774c5c517522efcc014dad80109f79a6fafb.zip |
Fix compatibility with boost >=1.49.0 (filesystem v2 gone), bug #424761.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild')
-rw-r--r-- | dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild b/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild index bdb3c0209083..41e7965fa714 100644 --- a/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild +++ b/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild,v 1.1 2012/06/01 20:50:58 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild,v 1.2 2012/08/23 13:19:38 dev-zero Exp $ EAPI="4" -inherit toolchain-funcs versionator +inherit eutils toolchain-funcs versionator DESCRIPTION="A compiler frontend for the W3C XML Schema definition language." HOMEPAGE="http://www.codesynthesis.com/projects/libxsd-frontend/" @@ -21,6 +21,10 @@ RDEPEND=">=dev-libs/xerces-c-3 DEPEND="${RDEPEND} dev-util/build:0.3" +src_prepare() { + epatch "${FILESDIR}/1.17.0-boost-filesystem-v2-deprecation.patch" +} + src_configure() { BOOST_PKG="$(best_version ">=dev-libs/boost-1.35.0-r5")" BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" @@ -36,7 +40,7 @@ cxx_id := gnu cxx_optimize := n cxx_debug := n cxx_rpath := n -cxx_pp_extra_options := -DBOOST_FILESYSTEM_VERSION=2 +cxx_pp_extra_options := cxx_extra_options := ${CXXFLAGS} -I${BOOST_INC} cxx_ld_extra_options := ${LDFLAGS} cxx_extra_libs := |