git: 7daf4cb58771 - main - devel/vc: fix port for i386 arch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Mar 2022 21:45:19 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7daf4cb58771b277916af8dbfe08b3241f49af11
commit 7daf4cb58771b277916af8dbfe08b3241f49af11
Author: Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2022-03-09 21:43:23 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-09 21:45:16 +0000
devel/vc: fix port for i386 arch
PR: 262451
---
devel/vc/Makefile | 1 +
devel/vc/files/patch-CMakeLists.txt | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/devel/vc/Makefile b/devel/vc/Makefile
index 4d9026bb96b4..a45c71c0a5bb 100644
--- a/devel/vc/Makefile
+++ b/devel/vc/Makefile
@@ -1,5 +1,6 @@
PORTNAME= vc
DISTVERSION= 1.4.2
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
diff --git a/devel/vc/files/patch-CMakeLists.txt b/devel/vc/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..fa200f1fd3e2
--- /dev/null
+++ b/devel/vc/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2021-06-22 13:38:39 UTC
++++ CMakeLists.txt
+@@ -28,7 +28,7 @@ include (OptimizeForArchitecture)
+
+ vc_determine_compiler()
+
+-if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(i686|x86|AMD64|amd64)")
++if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86|AMD64|amd64)")
+ set(Vc_X86 TRUE)
+ elseif("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(arm|aarch32|aarch64)")
+ message(WARNING "No optimized implementation of the Vc types available for ${CMAKE_SYSTEM_PROCESSOR}")