git: d61fe2c7ac26 - 2023Q3 - math/py-gau2grid: Add NATIVE option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Jul 2023 20:29:24 UTC
The branch 2023Q3 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d61fe2c7ac2663663daf52ea2ba963e37492b2fd
commit d61fe2c7ac2663663daf52ea2ba963e37492b2fd
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-14 15:01:27 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-14 20:29:22 +0000
math/py-gau2grid: Add NATIVE option
(cherry picked from commit 1b33f9978e63615fa7ebdca6aeba1d7be3cf5c1e)
---
math/py-gau2grid/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/math/py-gau2grid/Makefile b/math/py-gau2grid/Makefile
index c8db9c37f5e5..991f4dbd57b0 100644
--- a/math/py-gau2grid/Makefile
+++ b/math/py-gau2grid/Makefile
@@ -1,7 +1,7 @@
PORTNAME= gau2grid
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -25,6 +25,10 @@ USE_PYTHON= flavors
CMAKE_ON= INSTALL_PYMOD
CMAKE_ARGS= -DPYMOD_INSTALL_LIBDIR:STRING=${PYTHON_SITELIBDIR} -DFREEBSD_PYTHON_VER:STRING=${PYTHON_VER}
+OPTIONS_DEFINE= NATIVE
+
+NATIVE_CMAKE_BOOL= ENABLE_XHOST
+
post-install:
@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/gau2grid/__pycache__
@${RM} -r ${STAGEDIR}${LOCALBASE}//lib/usr # LICENSE is installed under there