biology/metaeuk: fix build without libomp and disable -m{arch,cpu}=native
This commit is contained in:
parent
55f6487237
commit
1a0bbb896a
1 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= metaeuk
|
||||
DISTVERSION= 6
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONSUFFIX= -a5d39d9
|
||||
CATEGORIES= biology
|
||||
|
||||
|
@ -25,6 +26,12 @@ SHEBANG_GLOB= *.sh
|
|||
|
||||
PLIST_FILES= bin/metaeuk
|
||||
|
||||
CMAKE_OFF= NATIVE_ARCH
|
||||
|
||||
.if !exists(/usr/include/omp.h
|
||||
CMAKE_ARGS+= -DREQUIRE_OPENMP:BOOL=OFF
|
||||
.endif
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC}/tests && ./run.sh ${STAGEDIR}${PREFIX}/bin/metaeuk
|
||||
|
||||
|
|
Loading…
Reference in a new issue