pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2023Q2] pkgsrc/textproc/py-rapidfuzz



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Mon Jul  3 20:57:52 UTC 2023

Modified Files:
        pkgsrc/textproc/py-rapidfuzz [pkgsrc-2023Q2]: Makefile

Log Message:
Pullup ticket #6773 - requested by gdt
textproc/py-rapidfuzz: i386 build fix

Revisions pulled up:
- textproc/py-rapidfuzz/Makefile                                1.12

---
   Module Name: pkgsrc
   Committed By:        gdt
   Date:                Mon Jul  3 13:54:32 UTC 2023

   Modified Files:
        pkgsrc/textproc/py-rapidfuzz: Makefile

   Log Message:
   textprox/py-rapidfuzz: Exclude i386 from avx2 PLIST conditional

   This package had untested code to expect three files that are
   avx2-only when building on i386, but those files don't actually get
   built.  This is almost certainly because not all i486-and-up CPUs have
   avx2 instructions.

   Resolves failure to package on NetBSD 9 i386 using
     cpu0: "Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz"


To generate a diff of this commit:
cvs rdiff -u -r1.10.2.2 -r1.10.2.3 pkgsrc/textproc/py-rapidfuzz/Makefile

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

Modified files:

Index: pkgsrc/textproc/py-rapidfuzz/Makefile
diff -u pkgsrc/textproc/py-rapidfuzz/Makefile:1.10.2.2 pkgsrc/textproc/py-rapidfuzz/Makefile:1.10.2.3
--- pkgsrc/textproc/py-rapidfuzz/Makefile:1.10.2.2      Mon Jul  3 13:53:33 2023
+++ pkgsrc/textproc/py-rapidfuzz/Makefile       Mon Jul  3 20:57:52 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10.2.2 2023/07/03 13:53:33 gdt Exp $
+# $NetBSD: Makefile,v 1.10.2.3 2023/07/03 20:57:52 bsiegert Exp $
 
 DISTNAME=      rapidfuzz-3.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -21,7 +21,9 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 
 PLIST_SUBST+=  PYTHON_VERSION=${_PYTHON_VERSION}
 PLIST_VARS+=   avx2
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+# Only x86_64 is guaranteed to have avx2; while some i386 CPUs do, our
+# build target does not.
+.if ${MACHINE_ARCH} == "x86_64"
 PLIST.avx2=    yes
 .endif
 



Home | Main Index | Thread Index | Old Index