gnutls and LTS on 10.5

Riccardo Mottola riccardo.mottola at libero.it
Sat Jan 19 19:02:10 UTC 2019


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190119/5e214c60/attachment.html>


More information about the macports-users mailing list