Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2022 01:42:29 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d94a4c6c5c58 - main - archivers/c-blosc2: correct ppc64le condition
Message-ID:  <202202190142.21J1gTKa052719@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d94a4c6c5c58e34eab673052d1368f05464a5d39

commit d94a4c6c5c58e34eab673052d1368f05464a5d39
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-19 01:39:47 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-19 01:39:47 +0000

    archivers/c-blosc2: correct ppc64le condition
    
    MATCHES should be used to allow for a regular expression.
    STREQUAL was using the expression as a literal string.
---
 archivers/c-blosc2/Makefile                   | 1 +
 archivers/c-blosc2/files/patch-CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/archivers/c-blosc2/Makefile b/archivers/c-blosc2/Makefile
index 6ce38b81dd06..8472bf185f66 100644
--- a/archivers/c-blosc2/Makefile
+++ b/archivers/c-blosc2/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	c-blosc2
 PORTVERSION=	2.0.4
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	archivers
 
diff --git a/archivers/c-blosc2/files/patch-CMakeLists.txt b/archivers/c-blosc2/files/patch-CMakeLists.txt
index 7807ca6dfb7e..225e7f49f0ce 100644
--- a/archivers/c-blosc2/files/patch-CMakeLists.txt
+++ b/archivers/c-blosc2/files/patch-CMakeLists.txt
@@ -5,7 +5,7 @@
          message(WARNING "Unable to determine which ${CMAKE_SYSTEM_PROCESSOR} hardware features are supported by the C compiler (${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}).")
      endif()
 -elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL ppc64le)
-+elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "^(ppc64le|powerpc64le)")
++elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(ppc64le|powerpc64le)")
      if(CMAKE_C_COMPILER_ID STREQUAL GNU AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 8)
          set(COMPILER_SUPPORT_ALTIVEC TRUE)
      else()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202190142.21J1gTKa052719>