git: c014700fcfde - main - graphics/s2: drop unnecessary -mcpu=power7 on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 29 Jan 2025 16:58:26 UTC
The branch main has been updated by pkubaj:

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

commit c014700fcfde3e61b49c2362b7fa32478c9c1872
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-28 19:56:27 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-29 16:57:12 +0000

    graphics/s2: drop unnecessary -mcpu=power7 on powerpc64
---
 graphics/s2/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/graphics/s2/Makefile b/graphics/s2/Makefile
index ae59d354596f..762feb8ad7d8 100644
--- a/graphics/s2/Makefile
+++ b/graphics/s2/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	s2
 PORTVERSION=	0.11.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -34,12 +34,6 @@ OPTIONS_DEFINE=	EXAMPLES
 
 EXAMPLES_CMAKE_BOOL=	BUILD_EXAMPLES
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc64 && !defined(CPUTYPE)
-CXXFLAGS+=	-mcpu=power7
-.endif
-
 post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/examples/point_index.cc ${WRKSRC}/doc/examples/term_index.cc ${STAGEDIR}${EXAMPLESDIR}