<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3f59f413b50adf79792bdef345b56b0b21e4c633">https://github.com/macports/macports-ports/commit/3f59f413b50adf79792bdef345b56b0b21e4c633</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3f59f413b50adf79792bdef345b56b0b21e4c633
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jul 21 06:12:39 2023 -0500

<span style='display:block; white-space:pre;color:#404040;'>    DoCon: Use system -W flag instead of cd
</span>---
 math/DoCon/Portfile | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/DoCon/Portfile b/math/DoCon/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f7a424dd5e1..d85c635b428 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/DoCon/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/DoCon/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,26 +36,26 @@ variant printable_doc description {Build printable documentation} {
</span> 
     post-destroot {
         # Run latex twice to resolve references
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        system "cd ${workpath}/${shortname} && latex manual.lat"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        system "cd ${workpath}/${shortname} && latex manual.lat"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        system "cd ${workpath}/${shortname} && dvipdf manual"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        system -W ${workpath}/${shortname} "latex manual.lat"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        system -W ${workpath}/${shortname} "latex manual.lat"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        system -W ${workpath}/${shortname} "dvipdf manual"
</span>         file mkdir ${destroot}${prefix}/share/doc/${shortname}-${version}
         file copy ${workpath}/${shortname}/manual.pdf ${destroot}${prefix}/share/doc/${shortname}-${version}/
     }
 }
 
 configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --enable-library-profiling"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    system -W ${worksrcpath} "runhaskell Setup configure --ghc --prefix=${prefix} --enable-library-profiling"
</span> }
 
 build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "cd ${worksrcpath} && runhaskell Setup build -v"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    system -W ${worksrcpath} "runhaskell Setup build -v"
</span> }
 
 destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "cd ${worksrcpath} && runhaskell Setup register   --gen-script"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "cd ${worksrcpath} && runhaskell Setup unregister --gen-script"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    system -W ${worksrcpath} "runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    system -W ${worksrcpath} "runhaskell Setup register   --gen-script"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    system -W ${worksrcpath} "runhaskell Setup unregister --gen-script"
</span> 
     file mkdir ${destroot}${prefix}/libexec/${shortname}-${version}
     file copy ${worksrcpath}/register.sh \
</pre><pre style='margin:0'>

</pre>