aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@freebsd.org>2022-06-20 19:37:08 +0000
committerRainer Hurling <rhurlin@FreeBSD.org>2022-06-20 19:37:08 +0000
commit78307862462c10acac3fefabf1fdbff1c6b0563e (patch)
tree6122da27f42073bf3f83fb911576361174a66d4f
parenta8a45d2a368bed37e731c60bf89e8695200b1886 (diff)
math/nlopt: Add test target
Add ctest. While here, pet portclippy. PR: 264774
-rw-r--r--math/nlopt/Makefile6
1 files 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