1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

biology/bowtie2: fix build on powerpc64*

This commit is contained in:
Piotr Kubaj 2022-11-09 23:47:22 +01:00
parent 9fe0c09592
commit 12c49822cb

View File

@ -1,4 +1,4 @@
--- Makefile.orig 2022-11-02 14:50:38 UTC
--- Makefile.orig 2022-11-01 01:53:08 UTC
+++ Makefile
@@ -32,7 +32,7 @@ BOWTIE_SHARED_MEM :=
@ -23,7 +23,7 @@
POPCNT_CAPABILITY ?= 1
-else ifneq (,$(findstring $(shell uname -m), aarch64 arm64 s390x ppc64 ppc64le))
+else ifneq (,$(findstring $(shell uname -p), aarch64 arm64 s390x ppc64 ppc64le))
+else ifneq (,$(findstring $(shell uname -p), aarch64 arm64 s390x powerpc64 powerpc64le ppc64 ppc64le))
BITS := 64
SSE_FLAG :=
CXXFLAGS += -fopenmp-simd