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 78CD815ACFB for ; Mon, 24 Apr 2023 09:17:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6BDEE0D36; Mon, 24 Apr 2023 09:17:44 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B47BE0D36 for ; Mon, 24 Apr 2023 09:17:44 +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 1D4E4335D28 for ; Mon, 24 Apr 2023 09:17:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 113A9920 for ; Mon, 24 Apr 2023 09:17:41 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1682327805.547cde6897aabd5b93d974dc6529eaea1585daeb.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gpr-unit-provider/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r2.ebuild dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r3.ebuild X-VCS-Directories: dev-ada/gpr-unit-provider/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 547cde6897aabd5b93d974dc6529eaea1585daeb X-VCS-Branch: master Date: Mon, 24 Apr 2023 09:17:41 +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: 1e1563a1-fc3c-41b5-a67d-d66ba102e07d X-Archives-Hash: 560cd0cd1aee7eb23ef77b61aef396d3 commit: 547cde6897aabd5b93d974dc6529eaea1585daeb Author: Alfredo Tupone gentoo org> AuthorDate: Mon Apr 24 09:16:45 2023 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Mon Apr 24 09:16:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=547cde68 dev-ada/gpr-unit-provider: respect ADAFLAGS Closes: https://bugs.gentoo.org/902537 Signed-off-by: Alfredo Tupone gentoo.org> ...2.ebuild => gpr-unit-provider-23.0.0-r3.ebuild} | 25 +++++++++------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r2.ebuild b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r3.ebuild similarity index 74% rename from dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r2.ebuild rename to dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r3.ebuild index 2e1af4e2ac0d..409b5d59236e 100644 --- a/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r2.ebuild +++ b/dev-ada/gpr-unit-provider/gpr-unit-provider-23.0.0-r3.ebuild @@ -25,21 +25,16 @@ REQUIRED_USE="${ADA_REQUIRED_USE} || ( shared static-libs static-pic )" src_compile() { - if use static-libs; then - emake PROCESSORS=$(makeopts_jobs) \ - GPRBUILD_OPTIONS=-v \ - build-static - fi - if use shared; then - emake PROCESSORS=$(makeopts_jobs) \ - GPRBUILD_OPTIONS=-v \ - build-relocatable - fi - if use static-pic; then - emake PROCESSORS=$(makeopts_jobs) \ - GPRBUILD_OPTIONS=-v \ - build-static-pic - fi + build () { + gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=$1 \ + -XGPR_UNIT_PROVIDER_BUILD=release -XXMLADA_BUILD=$1 \ + -P gpr_unit_provider.gpr \ + -largs ${LDFLAGS} \ + -cargs ${ADAFLAGS} || die "gprbuild failed" + } + use static-libs && build static + use shared && build relocatable + use static-pic && build static-pic } src_install() {