<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/425b1864066df5eed0e0302b4141e18a1689ebbf">https://github.com/macports/macports-ports/commit/425b1864066df5eed0e0302b4141e18a1689ebbf</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 425b1864066df5eed0e0302b4141e18a1689ebbf
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jul 19 22:16:50 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> endian: Update to 1.1
</span>---
sysutils/endian/Portfile | 36 ++++++++++++++++++------------------
sysutils/endian/files/Makefile.patch | 24 ++++++++++++++++++++++++
2 files changed, 42 insertions(+), 18 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/endian/Portfile b/sysutils/endian/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 00fa064114e..8f1192383cc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/endian/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/endian/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,26 +1,26 @@
</span> PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup outpaddling endian 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 bfd0dc046f061a6f32f57787d22b9abf2f58418f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 486591d4dcd7320f835ae6114184b3c6049928496d99744df87e755d7d5d807a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3071
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name endian
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.0
</span> categories sysutils
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description Report endianness of a system.
long_description Accurately determine the endianness of a system by placing a longword into memory and checking the order of the bytes at that address.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://personalpages.tds.net/~jwbacon/Ports/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}distfiles/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- http://jbacon.dyndns.org/~bacon/Ports/distfiles/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant universal {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args CC="${configure.cc} [get_canonical_archflags cc]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles Makefile.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# The Makefile wants to use this but doesn't if we set any CFLAGS of our own.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wall
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0555 ${worksrcpath}/endian ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0444 ${worksrcpath}/endian.1 ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 83407de0ce534c2be774caca4ae9230c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 e983fba4bb564d834d0147d08e439eacdb5a3fa5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 275bfdad00049030016c4828b121acfecd935ae1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.destdir STAGEDIR=${destroot}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/endian/files/Makefile.patch b/sysutils/endian/files/Makefile.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7ea588dc51a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/endian/files/Makefile.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Do not override MacPorts optimization flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/outpaddling/endian/commit/2f35a052c0ae404e016c2ac418818aaa40b54bca
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix manpage install directory.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/outpaddling/endian/pull/1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2020-05-15 19:19:18.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2024-07-19 22:09:26.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJS = endian.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC ?= gcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS += -Wall -O
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CFLAGS ?= -Wall -O
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREFIX ?= /usr/local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ all: endian
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -19,6 +19,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install: endian
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mkdir -p ${STAGEDIR}${PREFIX}/bin \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${STAGEDIR}${PREFIX}/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${STAGEDIR}${PREFIX}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install -c -m 0755 endian ${STAGEDIR}${PREFIX}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -c -m 0644 endian.1 ${STAGEDIR}${PREFIX}/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install -c -m 0644 endian.1 ${STAGEDIR}${PREFIX}/share/man/man1
</span></pre><pre style='margin:0'>
</pre>