git: 0cf0a70d7057 - main - graphics/py-s2: builds fine on powerpc64 without -mcpu=power7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jan 2025 16:58:22 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0cf0a70d7057eeef0daf42d022549beeb3db6c08
commit 0cf0a70d7057eeef0daf42d022549beeb3db6c08
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-28 17:52:11 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-29 16:57:06 +0000
graphics/py-s2: builds fine on powerpc64 without -mcpu=power7
---
graphics/py-s2/Makefile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/graphics/py-s2/Makefile b/graphics/py-s2/Makefile
index e807fad2b857..df078ee27927 100644
--- a/graphics/py-s2/Makefile
+++ b/graphics/py-s2/Makefile
@@ -1,5 +1,6 @@
PORTNAME= s2
PORTVERSION= 0.11.1
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -27,12 +28,6 @@ GH_ACCOUNT= google
GH_PROJECT= s2geometry
USE_GITHUB= yes
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc64 && !defined(CPUTYPE)
-CXXFLAGS+= -mcpu=power7
-.endif
-
post-install:
${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} -f ${STAGEDIR}${PYTHON_SITELIBDIR}
${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} -f ${STAGEDIR}${PYTHON_SITELIBDIR}