<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/463db483a1f752cfae8ec51ce46411c9248a65be">https://github.com/macports/macports-ports/commit/463db483a1f752cfae8ec51ce46411c9248a65be</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 463db483a1f pari: call purge only when it is possible
</span>463db483a1f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 463db483a1f752cfae8ec51ce46411c9248a65be
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Wed Jul 19 21:07:26 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> pari: call purge only when it is possible
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/67336
</span>---
math/pari/Portfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/pari/Portfile b/math/pari/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 99797107750..f5f16125817 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/pari/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/pari/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +28,9 @@ checksums rmd160 7f8bb9badcd43665704fbdabe50a9cf4b383b952 \
</span> # System's tar on at least macOS Ventura is broken
# See: https://trac.macports.org/ticket/67336
pre-install {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "/usr/sbin/purge"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[getuid] == 0 && [file exists /usr/sbin/purge]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "/usr/sbin/purge"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
depends_lib port:gmp \
</pre><pre style='margin:0'>
</pre>