MFH: r525644

emulators/higan: unbreak on powerpc64, make ports tree compliant

Builds fine on powerpc64 without -march=native, which shouldn't be enabled anyway.

Approved by:	portmgr (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-02-09 11:09:56 +00:00
parent ed9b2e21e4
commit 0dfde32246
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=525645
2 changed files with 12 additions and 2 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= higan
PORTVERSION= 106
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= emulators games
MASTER_SITES= http://download.byuu.org/ \
http://www.cyberbotx.com/higan/
@ -12,7 +12,7 @@ DISTNAME= ${PORTNAME}_v${PORTVERSION}-source
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Nintendo multi-system emulator
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS= amd64 i386 powerpc64
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2

View File

@ -0,0 +1,10 @@
--- higan/GNUmakefile.orig 2020-02-08 23:13:45 UTC
+++ higan/GNUmakefile
@@ -26,7 +26,6 @@ else ifneq ($(filter $(platform),linux bsd),)
flags += -fopenmp
link += -fopenmp
ifeq ($(binary),application)
- flags += -march=native
link += -Wl,-export-dynamic
link += -lX11 -lXext
else ifeq ($(binary),library)