git: 1b33f9978e63 - main - math/py-gau2grid: Add NATIVE option

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 14 Jul 2023 20:27:38 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1b33f9978e63615fa7ebdca6aeba1d7be3cf5c1e

commit 1b33f9978e63615fa7ebdca6aeba1d7be3cf5c1e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-14 15:01:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-14 15:01:27 +0000

    math/py-gau2grid: Add NATIVE option
---
 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