From 762afcba1871633bd13976bb5fc762903f4a6dc7 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Sun, 10 Dec 2017 11:22:29 +0000 Subject: - Remove arch limitations --- games/legesmotus/Makefile | 6 ++---- games/legesmotus/files/patch-common.mk | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 5 deletions(-) (limited to 'games') diff --git a/games/legesmotus/Makefile b/games/legesmotus/Makefile index 68f0ad9ad430..d1c4c1ee9c20 100644 --- a/games/legesmotus/Makefile +++ b/games/legesmotus/Makefile @@ -11,10 +11,8 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Team-based, networked, 2D shooter set in zero-gravity LICENSE= GPLv2 GPLv3 -LICENSE_COMB= dual - -NOT_FOR_ARCHS= aarch64 armv6 armv7 -NOT_FOR_ARCHS_REASON= fails to build: Disallowed architecture for this platform +LICENSE_COMB= dual # not GPLv2+ +LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix="${PREFIX}" \ diff --git a/games/legesmotus/files/patch-common.mk b/games/legesmotus/files/patch-common.mk index 30aaed68355f..e92d58d1463d 100644 --- a/games/legesmotus/files/patch-common.mk +++ b/games/legesmotus/files/patch-common.mk @@ -8,7 +8,21 @@ #UNIVERSAL = 1 #NOBUNDLE = 1 -@@ -174,12 +173,10 @@ CXXFLAGS += -Wnon-virtual-dtor +@@ -84,13 +83,6 @@ ifeq ($(ARCHS),) + endif + endif + +-# Only Mac OS X can use fat binaries +-ifneq ($(filter $(ARCH),$(ARCHS)),$(ARCH)) +- ifneq ($(MACHINE)-$(ARCH),Darwin-universal) +- $(error Disallowed architecture for this platform: $(ARCH)) +- endif +-endif +- + ifeq ($(MACHINE)$(NOBUNDLE),Darwin) + export MACOSX_DEPLOYMENT_TARGET=10.4 + FLAGS_SDL = -I$(FRAMEWORKS)/SDL.framework/Headers +@@ -174,12 +166,10 @@ CXXFLAGS += -Wnon-virtual-dtor ifeq ($(DEBUG),1) RELEASE = debug -- cgit