From 0dfde322465541d99bac9ff11b58d51d7e5788a1 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sun, 9 Feb 2020 11:09:56 +0000 Subject: [PATCH] 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) --- emulators/higan/Makefile | 4 ++-- emulators/higan/files/patch-higan_GNUmakefile | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 emulators/higan/files/patch-higan_GNUmakefile diff --git a/emulators/higan/Makefile b/emulators/higan/Makefile index c323aab9f7f7..c61b553fdc70 100644 --- a/emulators/higan/Makefile +++ b/emulators/higan/Makefile @@ -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 diff --git a/emulators/higan/files/patch-higan_GNUmakefile b/emulators/higan/files/patch-higan_GNUmakefile new file mode 100644 index 000000000000..86cf95a2f544 --- /dev/null +++ b/emulators/higan/files/patch-higan_GNUmakefile @@ -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)