pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/gnutls



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jan 11 19:12:01 UTC 2026

Modified Files:
        pkgsrc/security/gnutls: Makefile

Log Message:
gnutls: disable GNUTLS_GAS_VERSION check for NetBSD

This was added in 2020 for CentOS 6. This test never worked on NetBSD
because the version number looks different there ($4 is always
"Binutils").

Perhaps this should be limited to Linux instead.

Avoids a fork during Makefile parsing.


To generate a diff of this commit:
cvs rdiff -u -r1.271 -r1.272 pkgsrc/security/gnutls/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/gnutls/Makefile
diff -u pkgsrc/security/gnutls/Makefile:1.271 pkgsrc/security/gnutls/Makefile:1.272
--- pkgsrc/security/gnutls/Makefile:1.271       Wed Jan  7 08:48:40 2026
+++ pkgsrc/security/gnutls/Makefile     Sun Jan 11 19:12:01 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.271 2026/01/07 08:48:40 wiz Exp $
+# $NetBSD: Makefile,v 1.272 2026/01/11 19:12:01 wiz Exp $
 
 DISTNAME=      gnutls-3.8.11
 PKGREVISION=   2
@@ -60,7 +60,7 @@ INSTALLATION_DIRS=    ${EGDIR} include/gnut
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${MACHINE_ARCH} == "x86_64"
+.if ${MACHINE_ARCH} == "x86_64" && ${OPSYS} != "NetBSD"
 GNUTLS_GAS_VERSION!=   \
        ( env LC_ALL=C as --version 2>&1 | ${GREP} 'GNU assembler version' | ${AWK} '{print $$4}') 2>/dev/null || ${ECHO} 0
 .  if ${GNUTLS_GAS_VERSION} != 0



Home | Main Index | Thread Index | Old Index