From ef41284adff757d45f3749da92dbcd13e1f71f93 Mon Sep 17 00:00:00 2001 From: Nikolai Lifanov Date: Mon, 4 Mar 2019 02:54:29 +0000 Subject: [PATCH] update games/stonesoup to 0.23.1 Changes: https://crawl.develz.org/wordpress/0-23-1-bugfix-release --- games/stonesoup/Makefile | 8 +++- games/stonesoup/distinfo | 6 +-- games/stonesoup/files/patch-Makefile | 68 ++++++---------------------- 3 files changed, 22 insertions(+), 60 deletions(-) diff --git a/games/stonesoup/Makefile b/games/stonesoup/Makefile index e9c2297279a5..fd17991676e3 100644 --- a/games/stonesoup/Makefile +++ b/games/stonesoup/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= stonesoup -PORTVERSION= 0.23.0 +PORTVERSION= 0.23.1 CATEGORIES= games MAINTAINER= lifanov@FreeBSD.org @@ -37,13 +37,17 @@ PLIST_SUB= SAVEDIR="${SAVEDIR}" MAKE_ARGS= prefix=${PREFIX} \ DATADIR=${DATADIR} \ - SAVEDIR=${SAVEDIR} \ DESTDIR=${STAGEDIR} \ + FORCE_CC=${CC} \ + FORCE_CXX=${CXX} \ INSTALL_UGRP=root:games \ + LUA_PACKAGE=lua-5.1 \ NO_AUTO_OPT=YesPlease \ NO_OPTIMIZE=YesPlease \ NO_TRY_GOLD=YesPlease \ + NOSSE=YesPlease \ POSIX=YesPlease \ + SAVEDIR=${SAVEDIR} \ SQLITE_INCLUDE_DIR=${LOCALBASE}/include \ SQLITE_LIB=-lsqlite3 \ V=yes diff --git a/games/stonesoup/distinfo b/games/stonesoup/distinfo index 49da6057d840..8c9a6605534d 100644 --- a/games/stonesoup/distinfo +++ b/games/stonesoup/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1549601507 -SHA256 (crawl-crawl-0.23.0_GH0.tar.gz) = 44d26e398b5e95e61bb3fd12e0c250ab87e32dd5f2c6fc66cc34185e44af0d8d -SIZE (crawl-crawl-0.23.0_GH0.tar.gz) = 13001398 +TIMESTAMP = 1551666149 +SHA256 (crawl-crawl-0.23.1_GH0.tar.gz) = 89141ea995f0e8c517fd19e447e8420eca51977c9b358543f0b17a27bf8afeb6 +SIZE (crawl-crawl-0.23.1_GH0.tar.gz) = 13006184 diff --git a/games/stonesoup/files/patch-Makefile b/games/stonesoup/files/patch-Makefile index b7b599e80af6..ccfbc1708fd7 100644 --- a/games/stonesoup/files/patch-Makefile +++ b/games/stonesoup/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig 2016-04-30 03:53:03 UTC +--- Makefile.orig 2019-03-04 02:25:24 UTC +++ Makefile -@@ -72,7 +72,7 @@ +@@ -75,7 +75,7 @@ # them; you can also ask for a package with convenience libraries instead -- # we'll try to provide them somewhere in the near future. @@ -9,49 +9,16 @@ # Disable GNU Make implicit rules and variables. Leaving them enabled will slow # down MinGW and Cygwin builds by a very VERY noticeable degree. Besides, we have -@@ -106,23 +106,17 @@ include Makefile.obj - # Which C++ standard to support - STDFLAG = -std=c++11 - --CFOTHERS := -pipe $(EXTERNAL_FLAGS) -+CFOTHERS := $(CFLAGS) - CFWARN := - CFWARN_L := -Wall -Wformat-security -Wundef - - DEFINES := $(EXTERNAL_DEFINES) - --ifndef ANDROID --LDFLAGS := --endif -- - # - # The GCC and GXX variables are set later. - # - AR = ar - RANLIB = ranlib --CC = $(GCC) --CXX = $(GXX) - RM = rm -f - COPY = cp - COPY_R = cp -r -@@ -511,16 +505,6 @@ ifneq ($(GCC_VER),) - GCC_VER_SUFFIX:=-$(GCC_VER) +@@ -114,7 +114,7 @@ ifdef ANDROID + NOSSE := Yes endif --# Attempt to use a full compiler name, to make --# distcc builds work nicely. --LMACH := $(shell gcc -dumpmachine)- --ifeq ($(LMACH),-) --LMACH := --endif --ifeq ($(shell which $(LMACH)gcc$(GCC_VER_SUFFIX) > /dev/null 2> /dev/null && echo "Yes"),) --LMACH := --endif -- - ifneq ($(FORCE_CC),) - GCC := $(FORCE_CC) - HOSTCC := $(FORCE_CC) -@@ -574,15 +558,6 @@ ifdef USE_ICC +-CFOTHERS := -pipe $(EXTERNAL_FLAGS) ++CFOTHERS := $(EXTERNAL_FLAGS) + ifndef NOSSE + # force SSE2 dependency, so as to avoid both x87 indeterminacies, and + # to prevent lua from using non-standard rounding methods. +@@ -513,15 +513,6 @@ ifdef USE_ICC # Some very good optimization flags. CFOPTIMIZE := -O2 -parallel @@ -66,17 +33,8 @@ - endif endif - ifdef LTO -@@ -660,7 +635,7 @@ ifndef BUILD_LUA - endif - ifndef BUILD_LUA - ifndef LUA_PACKAGE -- LUA_PACKAGE = lua5.1 -+ LUA_PACKAGE = lua-5.1 - endif - INCLUDES_L += $(shell $(PKGCONFIG) $(LUA_PACKAGE) --cflags-only-I | sed -e 's/-I/-isystem /') - CFLAGS_L += $(shell $(PKGCONFIG) $(LUA_PACKAGE) --cflags-only-other) -@@ -673,7 +648,7 @@ endif + # Define this to automatically generate code optimized for your machine +@@ -635,7 +626,7 @@ endif ifndef BUILD_SQLITE ifeq ($(shell grep -q sqlite3_prepare $(SQLITE_INCLUDE_DIR)/sqlite3.h 2>/dev/null && echo yes),yes) @@ -85,7 +43,7 @@ LIBS += $(SQLITE_LIB) ifneq ($(shell grep -q sqlite3_prepare_v2 $(SQLITE_INCLUDE_DIR)/sqlite3.h 2>/dev/null && echo yes),yes) DEFINES_L += -DANCIENT_SQLITE -@@ -830,7 +805,7 @@ ifndef NOWIZARD +@@ -798,7 +789,7 @@ ifndef NOWIZARD DEFINES += -DWIZARD endif ifdef NO_OPTIMIZE