public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/dafny/
Date: Fri,  6 Oct 2023 15:21:01 +0000 (UTC)	[thread overview]
Message-ID: <1696605650.6b0f2999c4b2a7996376971616d3552ce4d732a6.xgqt@gentoo> (raw)

commit:     6b0f2999c4b2a7996376971616d3552ce4d732a6
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  6 12:55:31 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 15:20:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b0f2999

dev-lang/dafny: clean environment in pkg_setup

force clean _JAVA_OPTIONS

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/dafny/dafny-4.3.0.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/dev-lang/dafny/dafny-4.3.0.ebuild b/dev-lang/dafny/dafny-4.3.0.ebuild
index 1e7294b7512d..216aec617ebc 100644
--- a/dev-lang/dafny/dafny-4.3.0.ebuild
+++ b/dev-lang/dafny/dafny-4.3.0.ebuild
@@ -430,6 +430,15 @@ DOCS=(
 )
 
 pkg_setup() {
+	# Clean the environment.
+	unset NPM_CONFIG_USERCONFIG
+
+	if [[ -n "${_JAVA_OPTIONS}" ]] ; then
+		ewarn "Cleaning _JAVA_OPTIONS because when set compile and test may fail"
+
+		unset _JAVA_OPTIONS
+	fi
+
 	check-reqs_pkg_setup
 	dotnet-pkg_pkg_setup
 	java-pkg-2_pkg_setup
@@ -449,10 +458,6 @@ src_unpack() {
 }
 
 src_prepare() {
-	# Clean the environment.
-	unset NPM_CONFIG_USERCONFIG
-	unset _JAVA_OPTIONS
-
 	# Remove bad tests (recursive).
 	local -a bad_tests
 	bad_tests=(


             reply	other threads:[~2023-10-06 15:21 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-06 15:21 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-03 19:02 [gentoo-commits] repo/gentoo:master commit in: dev-lang/dafny/ Arthur Zamarin
2025-05-16 20:38 Maciej Barć
2025-05-16 20:38 Maciej Barć
2025-05-16 20:38 Maciej Barć
2025-05-16 20:38 Maciej Barć
2025-03-15 18:58 Arthur Zamarin
2025-03-05  0:04 Sam James
2025-02-19 22:18 Maciej Barć
2025-02-09 20:50 Maciej Barć
2024-12-22  0:42 Maciej Barć
2024-11-04  0:19 Maciej Barć
2024-10-31 23:17 Maciej Barć
2024-10-23 15:44 Maciej Barć
2024-10-01  1:11 Sam James
2024-09-16 23:44 Maciej Barć
2024-08-30 23:52 Maciej Barć
2024-08-30 23:52 Maciej Barć
2024-08-01 16:47 Arthur Zamarin
2024-06-27 22:42 Maciej Barć
2024-06-07 13:00 Maciej Barć
2024-05-28 12:35 Sam James
2024-05-27 21:03 Maciej Barć
2024-05-24  2:46 Ionen Wolkens
2024-05-23 22:08 Maciej Barć
2024-03-29  3:06 Maciej Barć
2024-03-18 23:04 Maciej Barć
2024-03-18  8:29 Maciej Barć
2024-01-29 14:13 Maciej Barć
2023-11-13 22:04 Sam James
2023-10-06 15:21 Maciej Barć
2023-09-30 14:24 Maciej Barć
2023-09-18 15:00 Maciej Barć
2023-09-17 22:37 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1696605650.6b0f2999c4b2a7996376971616d3552ce4d732a6.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox