aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-07-18 13:59:18 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-07-19 18:26:06 +0000
commiteadc22643b6c207a6ee109f82ff42f6e7d401521 (patch)
treeafceb41b69d360d99fdc462bc5ed6d7b9d13652c
parentd7f39766ffb82b27b2d5c6bc6846a31c628da216 (diff)
downloadports-eadc22643b6c207a6ee109f82ff42f6e7d401521.tar.gz
ports-eadc22643b6c207a6ee109f82ff42f6e7d401521.zip
biology/mashmap: Broken on i386; Fix build on other architectures by using NATIVE option
Reported by: fallout
-rw-r--r--biology/mashmap/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/biology/mashmap/Makefile b/biology/mashmap/Makefile
index d9dc5f5fafa4..b1be9f3f6461 100644
--- a/biology/mashmap/Makefile
+++ b/biology/mashmap/Makefile
@@ -1,6 +1,7 @@
PORTNAME= mashmap
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.6
+PORTREVISION= 1
CATEGORIES= biology
MAINTAINER= yuri@FreeBSD.org
@@ -10,6 +11,8 @@ WWW= https://github.com/marbl/MashMap
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+BROKEN_i386= compilation fails: fatal error: unknown type name '__uint128_t'
+
LIB_DEPENDS= libgsl.so:math/gsl
USES= cmake compiler:c++17-lang localbase:ldflags
@@ -18,6 +21,10 @@ USE_GITHUB= yes
GH_ACCOUNT= marbl
GH_PROJECT= MashMap
+OPTIONS_DEFINE= NATIVE
+
+NATIVE_CMAKE_BOOL= OPTIMIZE_FOR_NATIVE
+
PLIST_FILES= bin/mashmap \
bin/mashmap-align