Skip to content

Commit

Permalink
biology/ncbi-blast+: check for omp.h on all architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Apr 27, 2022
1 parent 74016ad commit 1115257
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions biology/ncbi-blast+/Makefile
Expand Up @@ -52,17 +52,17 @@ CONFLICTS_INSTALL= ncbi-cxx-toolkit

WRKSRC_SUBDIR= c++

.if !exists(/usr/include/omp.h)
CONFIGURE_ARGS+= --without-openmp
.endif

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == gcc
# In case of problems: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220822
LDFLAGS+= -latomic # Only exists in gcc libs
.endif

.if ${ARCH} == powerpc
CONFIGURE_ARGS+= --without-openmp
.endif

post-install:
@${RM} ${STAGEDIR}${PREFIX}/include/ncbi-tools++/*/*/.cvsignore.extra
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/X11
Expand Down

0 comments on commit 1115257

Please sign in to comment.