Hi Ken,
I had finally some time to test your suggestions, below my feedback.
libs/libcrypto.a | | /usr/bin/sed 's/.* //' | sort | uniq >
.libs/libgnutls.exp
../libtool: eval: line 1731: syntax error near unexpected token `|'
this occurs because the version of nm used to process the objects from
the compiler is not new enough
configure.env-append NM=${prefix}/bin/nm
configure.env-append lt_cv_path_NM=${prefix}/bin/nm
My tests show that the latter helps. I changed my portfile to:
configure.args --disable-guile \
--disable-silent-rules \
--disable-libdane \
--disable-doc \
--enable-local-libopts \
--enable-openssl-compatibility \
--with-p11-kit \
--with-system-priority-file="${prefix}/etc/gnutls/default-priorities" \
--with-default-trust-store-pkcs11=pkcs11: \
ac_cv_prog_AWK=/usr/bin/awk \
lt_cv_path_NM=${prefix}/bin/nm
I just added a combination of the above to the `gnutls` portfile, and
success:
$ port -v installed gnutls
The following ports are currently installed:
gnutls @3.6.5_1+doc (active) platform='darwin 9' archs='i386'
date='2019-01-10T22:53:28-0800
Koreander:~ multix$ port -v installed gnutls
The following ports are currently installed:
gnutls @3.5.19_1+doc platform='darwin 9' archs='i386'
date='2018-11-16T01:58:08+0100'
gnutls @3.6.5_1+doc (active) platform='darwin 9' archs='i386'
date='2019-01-19T15:05:53+0100'
looks cool, doesn't it?
I had to build this way of course:
port -v upgrade gnutls configure.compiler=macports-clang-5.0
Riccardo