Update to rocksndiamonds-4.1.2.0.

This commit is contained in:
benoit 2019-02-26 20:14:23 +00:00
parent 996560b03a
commit 246224933b
3 changed files with 15 additions and 16 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.36 2018/10/17 08:48:34 benoit Exp $
# $OpenBSD: Makefile,v 1.37 2019/02/26 20:14:23 benoit Exp $
ONLY_FOR_ARCHS = ${GCC4_ARCHS} ${CLANG_ARCHS}
COMMENT = maze game resembling boulderdash
DISTNAME = rocksndiamonds-4.1.1.0
DISTNAME = rocksndiamonds-4.1.2.0
CATEGORIES = games x11
HOMEPAGE = http://www.artsoft.org/rocksndiamonds/
@ -14,13 +14,13 @@ MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = SDL c m pthread SDL_mixer SDL_image SDL_net
WANTLIB = SDL2 c m SDL2_mixer SDL2_image SDL2_net z
MASTER_SITES = http://www.artsoft.org/RELEASES/unix/rocksndiamonds/
LIB_DEPENDS = devel/sdl-mixer \
devel/sdl-image \
devel/sdl-net>=1.2.7
LIB_DEPENDS = devel/sdl2-mixer \
devel/sdl2-image \
devel/sdl2-net
RUN_DEPENDS = devel/desktop-file-utils
USE_GMAKE = Yes
@ -28,7 +28,7 @@ MAKE_FLAGS = CC="${CC}" MAKE="${MAKE_PROGRAM}" X11_PATH="${X11BASE}" \
RO_GAME_DIR="${PREFIX}/share/rocksndiamonds" \
RW_GAME_DIR="/var/games/rocksndiamonds"
ALL_TARGET = sdl
ALL_TARGET = sdl2
NO_TEST = Yes

View File

@ -1,2 +1,2 @@
SHA256 (rocksndiamonds-4.1.1.0.tar.gz) = 4kxtTblXHQIgfRlE5G4taGlcDn8AG8h5Tc0g9Ao1Fcw=
SIZE (rocksndiamonds-4.1.1.0.tar.gz) = 3876555
SHA256 (rocksndiamonds-4.1.2.0.tar.gz) = o7sQR01JjfLbkx2vaijeDBAUxIt7Z0onYUH5po23zKo=
SIZE (rocksndiamonds-4.1.2.0.tar.gz) = 3923401

View File

@ -1,15 +1,14 @@
$OpenBSD: patch-src_Makefile,v 1.10 2018/05/04 21:04:43 benoit Exp $
Index: src/Makefile
--- src/Makefile.orig
+++ src/Makefile
@@ -119,8 +119,8 @@ SYS_LDFLAGS := $(shell echo $(SYS_LDFLAGS) | \
$OpenBSD: patch-src_Makefile,v 1.11 2019/02/26 20:14:23 benoit Exp $
--- src/Makefile.orig Sun Feb 17 20:09:38 2019
+++ src/Makefile Tue Feb 26 15:16:38 2019
@@ -113,8 +113,8 @@
OPTIONS = -O3 -Wall
endif
-CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(EXTRA_CFLAGS) $(CONFIG)
-LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm
-LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm -lz
+CFLAGS += $(SYS_CFLAGS) $(EXTRA_CFLAGS) $(CONFIG)
+LDFLAGS += $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm
+LDFLAGS += $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm -lz
SRCS = main.c \