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

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

MFH:		2020Q1 (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-02-09 11:08:46 +00:00
parent 90bd00d0a8
commit eaa3edf28f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525644
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)