pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/libb2



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Sep 27 15:20:51 UTC 2025

Modified Files:
        pkgsrc/security/libb2: Makefile

Log Message:
libb2: disable arch-native code

In the default configuration, libb2 will compile with "-march=native"
compiler flags. This means that the compiled package might not work when
used on a different machine of the same architecture, e.g. one without
AVX512.

Fixes PR pkg/58855 by Simon Burge, sorry for taking so long :)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/libb2/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/libb2/Makefile
diff -u pkgsrc/security/libb2/Makefile:1.3 pkgsrc/security/libb2/Makefile:1.4
--- pkgsrc/security/libb2/Makefile:1.3  Tue Jul  8 14:09:46 2025
+++ pkgsrc/security/libb2/Makefile      Sat Sep 27 15:20:51 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2025/07/08 14:09:46 jperkin Exp $
+# $NetBSD: Makefile,v 1.4 2025/09/27 15:20:51 bsiegert Exp $
 
 DISTNAME=      libb2-0.98.1
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=BLAKE2/}
 GITHUB_RELEASE=        v0.98.1
@@ -13,6 +14,8 @@ LICENSE=      cc0-1.0-universal
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 
+CONFIGURE_ARGS+=       --disable-native
+
 CPPFLAGS.SunOS+=       -D__STDC_WANT_LIB_EXT1__=1      # memset_s
 
 PKGCONFIG_OVERRIDE+=   libb2.pc.in



Home | Main Index | Thread Index | Old Index