git: 04a5061de0ef - main - security/nflib: Simplify test target; Remove unnecessary target; Fix line order
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 06:50:46 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=04a5061de0ef17f29fee55943d7c9e01530321cc
commit 04a5061de0ef17f29fee55943d7c9e01530321cc
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-08-07 06:49:57 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-08-07 06:49:57 +0000
security/nflib: Simplify test target; Remove unnecessary target; Fix line order
---
security/nflib/Makefile | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/security/nflib/Makefile b/security/nflib/Makefile
index 686d3f61c5e5..4f8abceb5760 100644
--- a/security/nflib/Makefile
+++ b/security/nflib/Makefile
@@ -12,15 +12,14 @@ WWW= https://github.com/quarkslab/NFLlib
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT_LICENSE.txt
-BUILD_DEPENDS= as:devel/binutils
-
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= unconditionally includes amd64 assembler code
+BUILD_DEPENDS= as:devel/binutils
LIB_DEPENDS= libmpfr.so:math/mpfr \
libgmp.so:math/gmp
-USES= cmake compiler:c++11-lang localbase
+USES= cmake:testing compiler:c++11-lang localbase
USE_GITHUB= yes
GH_ACCOUNT= quarkslab
GH_PROJECT= NFLlib
@@ -28,13 +27,4 @@ USE_LDCONFIG= yes
CMAKE_ON= NFL_OPTIMIZED
-post-patch-NATIVE-off:
- @${REINPLACE_CMD} -e 's|-march=native|| ; s|-mtune=native||' ${WRKSRC}/CMakeLists.txt ${WRKSRC}/CMakeCompilers.txt
-
-do-test:
- @cd ${BUILD_WRKSRC} && \
- ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \
- ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
- ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
-
.include <bsd.port.mk>