pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gnutls gnutls: fix builds on Solaris 10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dbf5c4bf2a18
branches:  trunk
changeset: 771777:dbf5c4bf2a18
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sun Dec 26 23:03:54 2021 +0000

description:
gnutls: fix builds on Solaris 10

Addresses PR pkg/56500 from Claes Nästén.

diffstat:

 security/gnutls/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 4e861747e126 -r dbf5c4bf2a18 security/gnutls/Makefile
--- a/security/gnutls/Makefile  Sun Dec 26 21:53:32 2021 +0000
+++ b/security/gnutls/Makefile  Sun Dec 26 23:03:54 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.224 2021/12/08 16:02:33 adam Exp $
+# $NetBSD: Makefile,v 1.225 2021/12/26 23:03:54 gutteridge Exp $
 
 DISTNAME=      gnutls-3.7.2
 PKGREVISION=   2
@@ -91,6 +91,11 @@
 .  endif
 .endif
 
+# Tests fail due to missing strndup for Solaris < 5.11, disable for now
+.if ${OPSYS} == "SunOS" && ${OPSYS_VERSION} < 051100
+CONFIGURE_ARGS.SunOS+= --disable-tests
+.endif
+
 post-install:
        cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} *.c ${DESTDIR}${EGDIR}
 



Home | Main Index | Thread Index | Old Index