Skip to content

Commit

Permalink
biology/locarna: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jul 17, 2023
1 parent cdf2861 commit 2ce2ca5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions biology/locarna/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,23 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libRNA.a:biology/viennarna
LIB_DEPENDS= libgmp.so:math/gmp \
libgsl.so:math/gsl \
libmpfr.so:math/mpfr
TEST_DEPENDS= bash:shells/bash \
catch>0:devel/catch

USES= autoreconf gmake libtool perl5 pkgconfig shebangfix
USE_LDCONFIG= yes

SHEBANG_FILES= src/Utils/locarna_mcc
CXXFLAGS+= -I${LOCALBASE}/include/catch2 # use external catch

SHEBANG_FILES= src/Utils/locarna_mcc \
src/Tests/test_programs

GNU_CONFIGURE= yes

INSTALL_TARGET= install-strip
TEST_TARGET= check # tests fail to compile, see https://github.com/s-will/LocARNA/issues/80
TEST_TARGET= check # one test fails, see https://github.com/s-will/LocARNA/issues/81

post-extract: # unbundle catch, see https://github.com/s-will/LocARNA/issues/80
@${RM} ${WRKSRC}/src/Tests/catch.hpp

.include <bsd.port.mk>

0 comments on commit 2ce2ca5

Please sign in to comment.