mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
biology/stacks: fix build without libomp
src/process_radtags.cc:1578:6: error: unknown type name 'omp_lock_t' 1578 | omp_lock_t &thread_outbuf_lock = outbuf_lock[thread_index]; | ^ 25 warnings and 10 errors generated.
This commit is contained in:
parent
a0f1ff5a4e
commit
989b386399
1 changed files with 6 additions and 1 deletions
|
@ -10,7 +10,12 @@ WWW= https://catchenlab.life.illinois.edu/stacks/
|
|||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= compiler:c++11-lang gmake python shebangfix
|
||||
USES= gmake python shebangfix
|
||||
.if !exists(/usr/include/omp.h)
|
||||
USES+= compiler:gcc-c++11-lib
|
||||
.else
|
||||
USES+= compiler:c++11-lang
|
||||
.endif
|
||||
|
||||
SHEBANG_FILES= scripts/*
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue