<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/932d1ef5abd9c15616d8d6c49430d1655bf20ca1">https://github.com/macports/macports-ports/commit/932d1ef5abd9c15616d8d6c49430d1655bf20ca1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 932d1ef5abd9c15616d8d6c49430d1655bf20ca1
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Dec 13 17:19:36 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> heimdal: Fix build without perl with JSON module
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Because we are patching lib/hdb/hdb-mitdb.c the build system wanted to
</span><span style='display:block; white-space:pre;color:#404040;'> regenerate the private headers which requires a copy of perl that has
</span><span style='display:block; white-space:pre;color:#404040;'> the JSON module.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/63704
</span>---
net/heimdal/Portfile | 7 +++++++
1 file changed, 7 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/heimdal/Portfile b/net/heimdal/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9b2431a51ce..cd70ea69929 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/heimdal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/heimdal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,7 +30,14 @@ depends_lib port:readline \
</span> port:libcomerr
patchfiles dynamic_lookup-11.patch
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patchfiles-append lib-hdb-hdb-mitdb.c.patch
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patch.post_args -b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Prevent regeneration of private headers, which requires perl and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the JSON module.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ touch -r ${worksrcpath}/lib/hdb/hdb-mitdb.c.orig ${worksrcpath}/lib/hdb/hdb-mitdb.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
# Use a separate prefix to avoid conflicts with the port kerberos5
# (and openssl, if that variant is selected)
</pre><pre style='margin:0'>
</pre>