pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/56500: gnutls fails to build on Solaris 10 (pkcs11 test)



The following reply was made to PR pkg/56500; it has been noted by GNATS.

From: =?utf-8?q?Claes_N=C3=A4st=C3=A9n?= <pekdon%gmail.com@localhost>
To: gnats-bugs <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: pkg/56500: gnutls fails to build on Solaris 10 (pkcs11 test)
Date: Wed, 22 Dec 2021 17:13:43 +0000

 To disable tests on Solaris < 5.11 I did this locally:
 
 diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
 index a853dfe42b2..aa995dffb9f 100644
 --- a/security/gnutls/Makefile
 +++ b/security/gnutls/Makefile
 @@ -91,6 +91,11 @@ CONFIGURE_ARGS+=     --disable-hardware-acceleration
  .  endif
  .endif
 
 +# tests fails on missing strndup for Solaris < 5.11, disable
 +.if ${OPSYS} == "SunOS" && ${OS_VARIANT} == "Solaris" && ${OS_VERSION} != "5.11"
 +CONFIGURE_ARGS.SunOS+=         --disable-tests
 +.endif
 +
  post-install:
         cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} *.c ${DESTDIR}${EGDIR}
 
 
 -- 
 Claes Nästén
 


Home | Main Index | Thread Index | Old Index