git: 3d9c7d7e8ad2 - main - devel/criterion: Small corrections
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Jul 2022 19:51:19 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3d9c7d7e8ad201cf4dd05a4132531317df6f9805
commit 3d9c7d7e8ad201cf4dd05a4132531317df6f9805
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-03 19:50:58 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-03 19:51:16 +0000
devel/criterion: Small corrections
---
devel/criterion/Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/devel/criterion/Makefile b/devel/criterion/Makefile
index be7142673f0b..d742f74aa354 100644
--- a/devel/criterion/Makefile
+++ b/devel/criterion/Makefile
@@ -31,7 +31,6 @@ GH_TUPLE= attractivechaos:klib:cdb7e92:klib/dependencies/klib \
SHEBANG_FILES= src/protocol/gen-pb.py
-MESON_ARGS= -Db_lundef=false # remove -Wl,--no-undefined to work around bug#265008
MESON_ARGS= -Dtests=false -Dsamples=false
CFLAGS+= -fPIC
@@ -39,9 +38,9 @@ CXXFLAGS+= -fPIC
quick-test:
@cd ${TEST_WRKSRC} && \
- ${CC} ${CFLAGS} -I${STAGEDIR}${PREFIX}/include \
+ ${CC} ${CFLAGS} ${LDFLAGS} -I${STAGEDIR}${PREFIX}/include \
${STAGEDIR}${PREFIX}/lib/libcriterion.a \
- -L${LOCALBASE}/lib -lboxfort -lprotobuf-nanopb -lgit2 -lnanomsg \
+ -L${LOCALBASE}/lib -lboxfort -lprotobuf-nanopb -lgit2 -lnanomsg -lintl \
${FILESDIR}/example.c && \
./a.out # test succeeds when simple::Test fails with assertion