diff options
| author | Rainer Hurling <rhurlin@FreeBSD.org> | 2022-06-21 05:47:19 +0000 |
|---|---|---|
| committer | Rainer Hurling <rhurlin@FreeBSD.org> | 2022-06-21 05:52:38 +0000 |
| commit | c15a34ceda7d6e218b2193266554bcf1af6d9270 (patch) | |
| tree | 0bfba4cc6d336771a6236974b2fe30790183694f | |
| parent | 9e7359a0735c7332cdfde39ce2404c62575e6bb2 (diff) | |
math/nlopt: Use localbase to find gmp.h
CFLAGS is obsolete here, if localbase defined.
Reported by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
| -rw-r--r-- | math/nlopt/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/math/nlopt/Makefile b/math/nlopt/Makefile index 7c68f67258a4..bc0079d7d58b 100644 --- a/math/nlopt/Makefile +++ b/math/nlopt/Makefile @@ -21,13 +21,10 @@ LIB_DEPENDS= libgmp.so:math/gmp \ libguile-2.2.so:lang/guile2 RUN_DEPENDS= ${PYNUMPY} -USES= cmake:testing compiler:features pathfix pkgconfig python +USES= cmake:testing compiler:features localbase pathfix pkgconfig python USE_GITHUB= yes GH_ACCOUNT= stevengj USE_LDCONFIG= yes -# Needed to find gmp.h -CFLAGS+= -I${LOCALBASE}/include - .include <bsd.port.mk> |
