git: 0bb7e5c0520b - main - graphics/sharpconstruct: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Apr 2022 17:25:23 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0bb7e5c0520b445aa0fb3524cdea3fb2372b77e1 commit 0bb7e5c0520b445aa0fb3524cdea3fb2372b77e1 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-04-21 17:11:06 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-04-21 17:11:06 +0000 graphics/sharpconstruct: fix build on powerpc64 Similar to powerpc64le. --- graphics/sharpconstruct/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/graphics/sharpconstruct/Makefile b/graphics/sharpconstruct/Makefile index 7c95470d9c36..fa8cbbd1aef7 100644 --- a/graphics/sharpconstruct/Makefile +++ b/graphics/sharpconstruct/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgtkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm \ libglademm-2.4.so:devel/libglademm24 -ONLY_FOR_ARCHS= amd64 i386 powerpc64le +ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= uses SSE instructions USES= gl tar:bzip2 gmake pkgconfig @@ -28,8 +28,8 @@ PORTDATA= * .include <bsd.port.options.mk> -.if ${ARCH} == powerpc64le -CXXFLAGS+= -DNO_WARN_X86_INTRINSICS +.if ${ARCH:Mpowerpc64*} +CXXFLAGS+= -DNO_WARN_X86_INTRINSICS -maltivec -mvsx USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++11-lang