update to yquake2 7.45

ok jsg@ for an earlier version that included libexecinfo
build without libexecinfo - this approach is fine with sthen@
Maintainer awolk@ is busy but looked at update and no objection
This commit is contained in:
thfr 2021-01-07 22:20:25 +00:00
parent db0e16d257
commit fa3355ffc2
3 changed files with 21 additions and 5 deletions

View File

@ -1,14 +1,13 @@
# $OpenBSD: Makefile,v 1.22 2020/07/09 21:10:21 awolk Exp $
# $OpenBSD: Makefile,v 1.23 2021/01/07 22:20:25 thfr Exp $
ONLY_FOR_ARCHS= i386 amd64 sparc64
COMMENT= Yamagi Quake II
N= yquake2
V= 7.43
V= 7.45
PKGNAME= ${N}-${V}
DISTNAME= quake2-${V}
CATEGORIES= games
REVISION= 1
HOMEPAGE= https://www.yamagi.org/quake2/
MAINTAINER= Adam Wolk <awolk@openbsd.org>

View File

@ -1,2 +1,2 @@
SHA256 (quake2-7.43.tar.xz) = kncKVwye61DtMF2DqHKeezTOv3Fm8bijXSPXSicXPxY=
SIZE (quake2-7.43.tar.xz) = 1989812
SHA256 (quake2-7.45.tar.xz) = x1JFZ78apgRfJWGb6m5P2QZihLP7gYY7WB+0T09H/2U=
SIZE (quake2-7.45.tar.xz) = 1997816

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-Makefile,v 1.3 2021/01/07 22:20:26 thfr Exp $
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -452,11 +452,6 @@ release/quake2 : CFLAGS += -DHAVE_EXECINFO
release/quake2 : LDFLAGS += -lexecinfo
endif
-ifeq ($(YQ2_OSTYPE), OpenBSD)
-release/quake2 : CFLAGS += -DHAVE_EXECINFO
-release/quake2 : LDFLAGS += -lexecinfo
-endif
-
ifeq ($(YQ2_OSTYPE), Haiku)
release/quake2 : CFLAGS += -DHAVE_EXECINFO
release/quake2 : LDFLAGS += -lexecinfo