mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-libs/xqilla: allow to use with gcc-11
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
34
dev-libs/xqilla/xqilla-2.3.4-r1.ebuild
Normal file
34
dev-libs/xqilla/xqilla-2.3.4-r1.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++"
|
||||
HOMEPAGE="http://xqilla.sourceforge.net/HomePage"
|
||||
SRC_URI="mirror://sourceforge/${PN}/XQilla-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="static-libs tidy"
|
||||
|
||||
DEPEND=">=dev-libs/xerces-c-3.2.1 tidy? ( app-text/htmltidy )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}"/lib_to_lib64.patch )
|
||||
|
||||
S="${WORKDIR}"/XQilla-${PV}
|
||||
|
||||
src_prepare() {
|
||||
append-cxxflags -std=c++14
|
||||
default
|
||||
sed -i 's/buffio.h/tidybuffio.h/g' src/functions/FunctionParseHTML.cpp || die
|
||||
}
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static) \
|
||||
--with-tidy=$(usex tidy /usr no) \
|
||||
--with-xerces=/usr
|
||||
}
|
||||
Reference in New Issue
Block a user