<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/4db27f53b48500d50e3c734693d63608b8bad173">https://github.com/macports/macports-ports/commit/4db27f53b48500d50e3c734693d63608b8bad173</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 4db27f53b48 duti: Use MacPorts SDK/archflags/deployment target
</span>4db27f53b48 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4db27f53b48500d50e3c734693d63608b8bad173
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Mar 14 21:10:51 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> duti: Use MacPorts SDK/archflags/deployment target
</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/61480
</span>---
sysutils/duti/Portfile | 8 ++----
...ont-override-sdk-arches-deployment-target.patch | 27 ++++++++++++++++++
sysutils/duti/files/mojave.diff | 32 ----------------------
3 files changed, 29 insertions(+), 38 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/duti/Portfile b/sysutils/duti/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f157482dcdb..75ee5afbf76 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/duti/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/duti/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,16 +21,12 @@ long_description duti is a command-line utility capable of setting default \
</span> which application acts as the default handler for a given \
UTI.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://duti.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://web.archive.org/web/20181203082706/http://duti.org/
</span>
checksums rmd160 99b928d040b98f3d164ec5967f694793a3b9c03b \
sha256 c4ffc61b198dfbf1dbbc271ec56fdb5b3dc25ac5074f47eaecec7b62b09e4fd4 \
size 38097
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles mojave.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles dont-override-sdk-arches-deployment-target.patch
</span>
use_autoreconf yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-macosx-sdk=${configure.sdkroot}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/duti/files/dont-override-sdk-arches-deployment-target.patch b/sysutils/duti/files/dont-override-sdk-arches-deployment-target.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a0d9709380c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/duti/files/dont-override-sdk-arches-deployment-target.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Do not second-guess MacPorts about which SDK, arches, or deployment
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+target to use.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.in.orig 2018-04-12 22:19:10.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.in 2021-03-14 21:02:21.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,10 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC= @CC@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FRAMEWORKS= -framework ApplicationServices -framework CoreFoundation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-OPTOPTS= -isysroot @macosx_sdk@ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- @macosx_arches@ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -mmacosx-version-min=@macosx_dep_target@ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- @OPTOPTS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++OPTOPTS= @OPTOPTS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS= @LIBS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS= @LDFLAGS@ ${LIBS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac.orig 2018-04-12 22:19:10.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac 2021-03-14 21:02:13.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15,8 +15,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_PROG_INSTALL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_CANONICAL_SYSTEM
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-DUTI_CHECK_SDK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-DUTI_CHECK_DEPLOYMENT_TARGET
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # function checks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_CHECK_FUNC(strlcpy,have_strlcpy=yes,)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/duti/files/mojave.diff b/sysutils/duti/files/mojave.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index b568265dec8..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/duti/files/mojave.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,32 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/aclocal.m4 b/aclocal.m4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 8fd4cd1..f6e74d2 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/aclocal.m4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/aclocal.m4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -40,7 +40,7 @@ AC_DEFUN([DUTI_CHECK_SDK],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macosx_arches=""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- darwin15*|darwin16*|darwin17*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ darwin15*|darwin16*|darwin17*|darwin18*|darwin19*|darwin20*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sdk_path="${sdk_path}/MacOSX.sdk"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macosx_arches=""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -106,6 +106,18 @@ AC_DEFUN([DUTI_CHECK_DEPLOYMENT_TARGET],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- darwin17*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dep_target="10.13"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ darwin18*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ dep_target="10.14"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ darwin19*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ dep_target="10.15"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ darwin20*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ dep_target="11.0"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- esac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test -z "$macosx_dep_target"; then
</span></pre><pre style='margin:0'>
</pre>