From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 578B1158004 for ; Thu, 16 May 2024 17:59:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66E56E2A63; Thu, 16 May 2024 17:59:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21CFFE2A61 for ; Thu, 16 May 2024 17:59:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 29DEA33BF3B for ; Thu, 16 May 2024 17:59:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59B6D1ACD for ; Thu, 16 May 2024 17:59:19 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1715877853.a87d437e3c34b8a0fe2bd0a4d61b73085152148b.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/xqilla/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/xqilla/xqilla-2.3.4-r1.ebuild dev-libs/xqilla/xqilla-2.3.4-r2.ebuild dev-libs/xqilla/xqilla-2.3.4.ebuild X-VCS-Directories: dev-libs/xqilla/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: a87d437e3c34b8a0fe2bd0a4d61b73085152148b X-VCS-Branch: master Date: Thu, 16 May 2024 17:59:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9363a0a2-0f02-42fd-93b8-5e114121bcad X-Archives-Hash: 190ae1ab30b6c1dbcfe315476ec6eb5d commit: a87d437e3c34b8a0fe2bd0a4d61b73085152148b Author: Quincy Fleming protonmail com> AuthorDate: Thu May 16 16:42:59 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Thu May 16 16:44:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a87d437e dev-libs/xqilla: respect user LDFLAGS Closes: https://bugs.gentoo.org/780945 Signed-off-by: Quincy Fleming protonmail.com> ...illa-2.3.4-r1.ebuild => xqilla-2.3.4-r2.ebuild} | 15 +++++++++- dev-libs/xqilla/xqilla-2.3.4.ebuild | 33 ---------------------- 2 files changed, 14 insertions(+), 34 deletions(-) diff --git a/dev-libs/xqilla/xqilla-2.3.4-r1.ebuild b/dev-libs/xqilla/xqilla-2.3.4-r2.ebuild similarity index 71% rename from dev-libs/xqilla/xqilla-2.3.4-r1.ebuild rename to dev-libs/xqilla/xqilla-2.3.4-r2.ebuild index da57ec1919..d603cb8767 100644 --- a/dev-libs/xqilla/xqilla-2.3.4-r1.ebuild +++ b/dev-libs/xqilla/xqilla-2.3.4-r2.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C HOMEPAGE="https://sourceforge.net/projects/xqilla/" SRC_URI="https://downloads.sourceforge.net/${PN}/XQilla-${PV}.tar.gz" -S="${WORKDIR}"/XQilla-${PV} +S="${WORKDIR}/XQilla-${PV}" LICENSE="Apache-2.0" SLOT="0" @@ -31,3 +31,16 @@ src_configure() { --with-tidy=$(usex tidy /usr no) \ --with-xerces=/usr } + +src_compile() { + emake "LDFLAGS=${LDFLAGS} -lxerces-c -lnsl -lpthread $(usex tidy -ltidy '')" +} + +src_install() { + emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install + if ! use static-libs; then + find "${ED}" -type f -iname '*.la' -delete || die + fi + einstalldocs + dodoc LICENSE +} diff --git a/dev-libs/xqilla/xqilla-2.3.4.ebuild b/dev-libs/xqilla/xqilla-2.3.4.ebuild deleted file mode 100644 index b3e9f6e218..0000000000 --- a/dev-libs/xqilla/xqilla-2.3.4.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++" -HOMEPAGE="https://sourceforge.net/projects/xqilla/" -SRC_URI="https://downloads.sourceforge.net/${PN}/XQilla-${PV}.tar.gz" - -S="${WORKDIR}"/XQilla-${PV} - -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}" - -PATCHES=( - "${FILESDIR}"/lib_to_lib64.patch -) - -src_prepare() { - eapply -p1 "${FILESDIR}/lib_to_lib64.patch" - eapply_user - sed -i 's/buffio.h/tidybuffio.h/g' src/functions/FunctionParseHTML.cpp || die "sed failed" -} -src_configure() { - econf $(use_enable static-libs static) \ - --with-tidy=$(usex tidy /usr no) \ - --with-xerces=/usr -}