git: c15a34ceda7d - main - math/nlopt: Use localbase to find gmp.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 05:52:54 UTC
The branch main has been updated by rhurlin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c15a34ceda7d6e218b2193266554bcf1af6d9270
commit c15a34ceda7d6e218b2193266554bcf1af6d9270
Author: Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-06-21 05:47:19 +0000
Commit: Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-06-21 05:52:38 +0000
math/nlopt: Use localbase to find gmp.h
CFLAGS is obsolete here, if localbase defined.
Reported by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
---
math/nlopt/Makefile | 5 +----
1 file changed, 1 insertion(+), 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>