git: 78307862462c - main - math/nlopt: Add test target
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jun 2022 19:40:00 UTC
The branch main has been updated by rhurlin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=78307862462c10acac3fefabf1fdbff1c6b0563e
commit 78307862462c10acac3fefabf1fdbff1c6b0563e
Author: Yuri Victorovich <yuri@freebsd.org>
AuthorDate: 2022-06-20 19:37:08 +0000
Commit: Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-06-20 19:37:08 +0000
math/nlopt: Add test target
Add ctest. While here, pet portclippy.
PR: 264774
---
math/nlopt/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/math/nlopt/Makefile b/math/nlopt/Makefile
index 4c483d9b100f..7c68f67258a4 100644
--- a/math/nlopt/Makefile
+++ b/math/nlopt/Makefile
@@ -17,15 +17,15 @@ BROKEN_armv7= fails to package: Unable to access file site-packages/_nlopt.a:No
BUILD_DEPENDS= swig:devel/swig \
${PYNUMPY}
-RUN_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libgmp.so:math/gmp \
libguile-2.2.so:lang/guile2
+RUN_DEPENDS= ${PYNUMPY}
-USES= cmake compiler:features pathfix pkgconfig python
-USE_LDCONFIG= yes
+USES= cmake:testing compiler:features pathfix pkgconfig python
USE_GITHUB= yes
GH_ACCOUNT= stevengj
+USE_LDCONFIG= yes
# Needed to find gmp.h
CFLAGS+= -I${LOCALBASE}/include