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

This commit is contained in:
Piotr Kubaj 2025-01-28 20:56:27 +01:00
parent 04e953fefa
commit c014700fcf

View file

@ -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}