<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c8816c441dcffb1ea8cfeec986da30bdaa8b3c27">https://github.com/macports/macports-ports/commit/c8816c441dcffb1ea8cfeec986da30bdaa8b3c27</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c8816c441dcffb1ea8cfeec986da30bdaa8b3c27
</span>Author: Tomas Volf <~@wolfsden.cz>
AuthorDate: Mon Aug 12 11:02:20 2024 +0200
<span style='display:block; white-space:pre;color:#404040;'> guile-2.2: New port.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This port is created from guile port, with some light modifications.
</span>---
lang/guile-2.2/Portfile | 163 +++++++++++++++++++++++++++++++++++++++++
lang/guile-2.2/files/guile-2.2 | 21 ++++++
2 files changed, 184 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/guile-2.2/Portfile b/lang/guile-2.2/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..46456189cce
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/guile-2.2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,163 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup xcode_workaround 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup select 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name guile-2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories lang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2.1+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# current version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8c3dba807c4d236da81373e593d61007812ae236 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 18129833
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.c_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/59365
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode_workaround.fixed_xcode_version 11.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode_workaround.type avoid_xcode_compiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin powerpc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the prebuilt guile binaries are broken for 32bit darwn PPC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/prebuilt/32-bit-big-endian ${worksrcpath}/prebuilt/32-bit-big-endian-disabled
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_msg "*** This build can take some time, as guile has to do a full bootstrap on PPC."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Failed to destroot guile:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# /opt/local/lib/guile/2.0/ccache/ice-9/and-let-star.go differs in ... and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# cannot be merged
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description GNU's Ubiquitous Intelligent Language for Extension (guile)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Guile is an interpreter for the Scheme programming \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ language, packaged for use in a wide variety of \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ environments. Guile implements Scheme as described in \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ the Revised^5 Report on the Algorithmic Language Scheme \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (usually known as R5RS), providing clean and general \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ data and control structures. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Guile goes beyond the rather austere language presented \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ in R5RS, extending it with a module system, full access \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to POSIX system calls, networking support, multiple \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ threads, dynamic linking, a foreign function call \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ interface, powerful string processing, and many other \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ features needed for programming in the real world.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname guile-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.gnu.org/software/guile/guile.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://ftp.gnu.org/gnu/guile/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:readline \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libiconv \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gmp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libunistring \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:boehmgc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libffi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ncurses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run-append port:guile_select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# guile-config is a wrapper around pkg-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# fixes: sed: -i may not be used with stdin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:gsed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env-append SED=${prefix}/bin/gsed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env-append SED=${prefix}/bin/gsed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args CPPFLAGS="-I${prefix}/include" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS="-L${prefix}/lib" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --program-suffix=-2.2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --infodir="${prefix}/share/info/${name}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --mandir="${prefix}/share/man" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-regex \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-error-on-warning \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Unable to cross compile, so we need to be able to run the built code
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.arch} eq "i386" && ${os.major} >= 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs i386 x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set universal_archs_supported {i386 x86_64}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${os.arch} eq "i386" && ${build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs i386 x86_64 ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set universal_archs_supported {i386 x86_64 ppc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${os.arch} eq "i386"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs i386 ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set universal_archs_supported {i386 ppc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${build_arch} eq "ppc64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs ppc ppc64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set universal_archs_supported {ppc ppc64}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs ${build_arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set universal_archs_supported ${build_arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# if {[variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set merger_host(i386) i686-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set merger_host(ppc64) powerpc64-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set merger_host(ppc) powerpc-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set merger_configure_args(x86_64) "--build=x86_64-apple-${os.platform}${os.major}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set merger_configure_args(i386) "--build=i686-apple-${os.platform}${os.major}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set merger_configure_args(ppc) "--build=powerpc-apple-${os.platform}${os.major}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set merger_configure_args(ppc64) "--build=powerpc64-apple-${os.platform}${os.major}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# } else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${build_arch} eq "i386"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --host=i686-apple-${os.platform}${os.major} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --build=i686-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --host=x86_64-apple-${os.platform}${os.major} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --build=x86_64-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${build_arch} eq "ppc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --host=powerpc-apple-${os.platform}${os.major} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --build=powerpc-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${build_arch} eq "ppc64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --host=powerpc64-apple-${os.platform}${os.major} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --build=powerpc64-apple-${os.platform}${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url "https://ftp.gnu.org/pub/gnu/guile/?C=N;O=D"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+select.group guile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+select.file ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/share/aclocal/guile.m4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/aclocal/${name}.m4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure that in case there is 11th part the build fails. When that
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # happens, update the select file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${destroot}${prefix}/share/info/${name}/guile.info-11 ]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "Additional part of info page available."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+To make the Guile ${version} default one, run:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+port select --set ${select.group} [file tail ${select.file}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/guile-2.2/files/guile-2.2 b/lang/guile-2.2/files/guile-2.2
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f0db4b0200b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/guile-2.2/files/guile-2.2
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/guild-2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/guile-2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/guile-config-2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/guile-snarf-2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/guile-tools-2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info-1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info-10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info-3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info-4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info-5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info-6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info-7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info-8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/guile.info-9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/info/guile-2.2/r5rs.info
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/man1/guile-2.2.1.gz
</span></pre><pre style='margin:0'>
</pre>