Index: head/games/legesmotus/Makefile =================================================================== --- head/games/legesmotus/Makefile (revision 455887) +++ head/games/legesmotus/Makefile (revision 455888) @@ -1,50 +1,48 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= legesmotus PORTVERSION= 0.4.0 PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF 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}" \ --mandir="${PREFIX}/man" \ --datadir="${DATADIR}" USES= gmake MAKE_ENV= XDIR=${LOCALBASE} PORTDATA= * OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS=CLIENT SERVER METASERVER SERVERSCANNER OPTIONS_DEFAULT=CLIENT SERVER OPTIONS_SUB= yes CLIENT_DESC= Build client SERVER_DESC= Build server METASERVER_DESC= Build metaserver SERVERSCANNER_DESC= Build server scanner CLIENT_CONFIGURE_OFF= --disable-client CLIENT_USE= SDL=sdl,image,ttf,mixer GL=gl CLIENT_DESKTOP_ENTRIES= "Leges Motus" \ "" \ "${DATADIR}/sprites/blue_head32.png" \ "legesmotus" \ "Game;ActionGame;" \ "" SERVER_CONFIGURE_OFF= --disable-server METASERVER_CONFIGURE_ON= --enable-metaserver SERVERSCANNER_CONFIGURE_ON= --enable-serverscanner .include Index: head/games/legesmotus/files/patch-common.mk =================================================================== --- head/games/legesmotus/files/patch-common.mk (revision 455887) +++ head/games/legesmotus/files/patch-common.mk (revision 455888) @@ -1,23 +1,37 @@ --- common.mk.orig 2010-09-03 19:22:37 UTC +++ common.mk @@ -9,7 +9,6 @@ FRAMEWORKS = /Library/Frameworks VERSION = 0.4.0 # These may be overridden by config.mk -DATADIR = data #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 - CFLAGS += -g -O0 -DLM_DEBUG else RELEASE = release # Take O-flag from CFLAGS if we already have it set ifneq ($(filter -O%,$(CFLAGS)),) - CFLAGS += -O2 endif endif