<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/1c1a90034d2c2ebf53539c1121812a6240dec98d">https://github.com/macports/macports-ports/commit/1c1a90034d2c2ebf53539c1121812a6240dec98d</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 1c1a90034d2 libwww: Add deps; fix configure failure
</span>1c1a90034d2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1c1a90034d2c2ebf53539c1121812a6240dec98d
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Jan 30 23:11:21 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> libwww: Add deps; fix configure failure
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fix configure failure (inability to find zlib) with Xcode 12+ due to
</span><span style='display:block; white-space:pre;color:#404040;'> implicit declaration of functions (forgotten include statement).
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add library dependency on zlib since it is used. Remove expat variant
</span><span style='display:block; white-space:pre;color:#404040;'> and always add expat dependency since it is used by default. Therefore
</span><span style='display:block; white-space:pre;color:#404040;'> increase revision.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add ncurses build dependency because the configure script does look for
</span><span style='display:block; white-space:pre;color:#404040;'> it, though I'm not sure if it's actually used for anything.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add configure flags to ensure that X11 and MySQL, which are looked for
</span><span style='display:block; white-space:pre;color:#404040;'> by default, are not used.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use https homepage.
</span>---
www/libwww/Portfile | 25 ++++++++++++++-----------
www/libwww/files/patch-configure.diff | 16 ++++++++++++----
2 files changed, 26 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/libwww/Portfile b/www/libwww/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 183efaa391a..d0f143cb814 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/libwww/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/libwww/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,13 +4,13 @@ PortSystem 1.0
</span>
name libwww
version 5.4.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories www
license W3C
platforms darwin
maintainers nomaintainer
description The W3C WWW Reference Library
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.w3.org/Library/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.w3.org/Library/
</span>
long_description \
Libwww is a general-purpose Web API written in C for Unix and Windows (Win32). \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,8 +21,12 @@ master_sites https://www.w3.org/Library/Distribution/
</span> distname w3c-${distname}
extract.suffix .tgz
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib path:lib/libssl.dylib:openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:ncurses \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:expat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span>
checksums rmd160 7b6ecfbd84ca8b2ce3b19d3b60e9f6a75ea914f5 \
sha256 32b855101f65466c67ae3a3cc0fd18fa982e4b59fc98c9d4691e2da663d05f04 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,19 +37,18 @@ patchfiles patch-configure.diff \
</span>
configure.args --enable-shared \
--enable-static \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-expat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-ssl \
</span> --with-zlib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-ssl=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-mysql \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.ccache no
pre-build {
reinplace "s|dynamiclib|dynamiclib [get_canonical_archflags ld]|" ${worksrcpath}/libtool
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant expat description {builds against expat} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:expat
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-expat
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> livecheck.type regex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url http://www.w3.org/Library/Distribution/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${homepage}Distribution/
</span> livecheck.regex "w3c-${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/libwww/files/patch-configure.diff b/www/libwww/files/patch-configure.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 4d54eecb87f..2358d37934b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/libwww/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/libwww/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2017-06-24 06:11:34 UTC
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -15439,7 +15439,7 @@ if test "x$ac_cv_func_remove" = xyes; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2017-06-24 01:11:34.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2021-01-30 20:30:15.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15439,7 +15439,7 @@
</span>
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,15 @@
</span>
$as_echo "#define unlink remove" >>confdefs.h
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -16416,10 +16416,14 @@ $as_echo "no" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15537,6 +15537,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <zlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ main ()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -16416,10 +16417,14 @@
</span> if test "x$withval" = "xyes"; then
withval=$ssllib
SSLINC=$sslinc
</pre><pre style='margin:0'>
</pre>