<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Ken,</p>
<p><br>
</p>
<p>I had finally some time to test your suggestions, below my
feedback.</p>
<br>
<blockquote type="cite"
cite="mid:EFEF8D84-2FD4-4B77-B3D4-3EB7CB8D5422@gmail.com">
<div>
<div><br>
</div>
<br>
<blockquote type="cite">
<div><br>
libs/libcrypto.a | | /usr/bin/sed 's/.* //' | sort | uniq
> .libs/libgnutls.exp<br>
../libtool: eval: line 1731: syntax error near unexpected
token `|'<br>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>
<table class="highlight tab-size js-file-line-container"
data-tab-size="8">
<tbody>
<tr>
<td id="file-gistfile1-txt-LC1" class="blob-code
blob-code-inner js-file-line">this occurs because the
version of nm used to process the objects from the
compiler is not new enough</td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table class="highlight tab-size js-file-line-container"
data-tab-size="8">
<tbody>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td id="file-gistfile1-txt-LC15" class="blob-code
blob-code-inner js-file-line">configure.env-append
NM=${prefix}/bin/nm</td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table class="highlight tab-size js-file-line-container"
data-tab-size="8">
<tbody>
<tr>
<td id="file-gistfile1-txt-LC16" class="blob-code
blob-code-inner js-file-line">configure.env-append
lt_cv_path_NM=${prefix}/bin/nm</td>
</tr>
</tbody>
</table>
<div><br>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
<p>My tests show that the latter helps. I changed my portfile to:<br>
</p>
<p>configure.args --disable-guile \<br>
--disable-silent-rules \<br>
--disable-libdane \<br>
--disable-doc \<br>
--enable-local-libopts \<br>
--enable-openssl-compatibility \<br>
--with-p11-kit \<br>
--with-system-priority-file="${prefix}/etc/gnutls/default-priorities"
\<br>
--with-default-trust-store-pkcs11=pkcs11: \<br>
ac_cv_prog_AWK=/usr/bin/awk \<br>
lt_cv_path_NM=${prefix}/bin/nm<br>
<br>
</p>
<blockquote type="cite"
cite="mid:EFEF8D84-2FD4-4B77-B3D4-3EB7CB8D5422@gmail.com">
<div>
<div>
<div><br>
</div>
<div>I just added a combination of the above to the `gnutls`
portfile, and success:</div>
<div><br>
</div>
<div>
<div>$ port -v installed gnutls</div>
<div>The following ports are currently installed:</div>
<div> gnutls @3.6.5_1+doc (active) platform='darwin 9'
archs='i386' date='2019-01-10T22:53:28-0800</div>
</div>
</div>
</div>
</blockquote>
<p>Koreander:~ multix$ port -v installed gnutls <br>
The following ports are currently installed:<br>
gnutls @3.5.19_1+doc platform='darwin 9' archs='i386'
date='2018-11-16T01:58:08+0100'<br>
gnutls @3.6.5_1+doc (active) platform='darwin 9' archs='i386'
date='2019-01-19T15:05:53+0100'</p>
<p><br>
</p>
<p>looks cool, doesn't it?</p>
<p><br>
</p>
<p>I had to build this way of course:</p>
<p>port -v upgrade gnutls configure.compiler=macports-clang-5.0<br>
<br>
</p>
<p><br>
</p>
<p>Riccardo<br>
</p>
<p><br>
</p>
</body>
</html>