bentley 2019-04-20 00:33:32 +00:00
parent 2f7b467f53
commit 15982465fe
4 changed files with 19 additions and 14 deletions

View File

@ -1,14 +1,10 @@
# $OpenBSD: Makefile,v 1.61 2018/12/09 21:01:03 ajacoutot Exp $
# XXX fix build with icu >=5.9.1 (remove at next update?)
CXXFLAGS += -DU_USING_ICU_NAMESPACE=1
# $OpenBSD: Makefile,v 1.62 2019/04/20 00:33:32 bentley Exp $
COMMENT= open source clone of the game Transport Tycoon Deluxe
V = 1.8.0
V = 1.9.1
DISTNAME = openttd-$V-source
PKGNAME = openttd-$V
REVISION = 4
CATEGORIES= games
@ -24,7 +20,8 @@ WANTLIB += lzma lzo2 m png pthread ${COMPILER_LIBCXX} xdg-basedir z
COMPILER = base-clang ports-gcc base-gcc
MASTER_SITES= https://binaries.openttd.org/releases/$V/
MASTER_SITES = https://proxy.binaries.openttd.org/openttd-releases/$V/
EXTRACT_SUFX = .tar.xz
DIST_SUBDIR = openttd

View File

@ -1,2 +1,2 @@
SHA256 (openttd/openttd-1.8.0-source.tar.gz) = t0/Bl9PaLExpaQW4ZSrWJoZtjYwMZHRdfWYEEKy9sqY=
SIZE (openttd/openttd-1.8.0-source.tar.gz) = 10121650
SHA256 (openttd/openttd-1.9.1-source.tar.xz) = /4FYwd3/69uAf+qAV8A4/OEXHlRP4RUj4upw/r43EeU=
SIZE (openttd/openttd-1.9.1-source.tar.xz) = 6647548

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-config_lib,v 1.5 2018/06/26 06:20:41 bentley Exp $
$OpenBSD: patch-config_lib,v 1.6 2019/04/20 00:33:32 bentley Exp $
Don't build with -O1. The reason they add it is irrevelant to OpenBSD anyway.
Index: config.lib
--- config.lib.orig
+++ config.lib
@@ -1543,7 +1543,7 @@ make_cflags_and_ldflags() {
@@ -1566,7 +1566,7 @@ make_cflags_and_ldflags() {
cc_build_is_gcc=`basename "$cc_build" | grep "gcc" 2>/dev/null`
if [ -n "$cc_build_is_gcc" ]; then
# Just add -O1 to the tools needed for building.

View File

@ -1,12 +1,13 @@
@comment $OpenBSD: PLIST,v 1.29 2018/09/04 12:46:13 espie Exp $
@comment $OpenBSD: PLIST,v 1.30 2019/04/20 00:33:32 bentley Exp $
@bin bin/openttd
@man man/man6/openttd.6
share/applications/openttd.desktop
share/doc/openttd/
share/doc/openttd/COPYING
share/doc/openttd/HOWTO_compile_lang_files.txt
share/doc/openttd/README.md
share/doc/openttd/Readme_OS2.txt
share/doc/openttd/Readme_Windows_MSVC.txt
share/doc/openttd/Readme_Windows_MSVC.md
share/doc/openttd/admin_network.txt
share/doc/openttd/changelog.txt
share/doc/openttd/desync.txt
@ -27,7 +28,6 @@ share/doc/openttd/ottd-colourtext-palette.png
share/doc/openttd/palettes/
share/doc/openttd/palettes/openttd.gpl
share/doc/openttd/palettes/palette.act
share/doc/openttd/readme.txt
share/doc/openttd/tileh.png
share/doc/pkg-readmes/${PKGSTEM}
share/examples/openttd/
@ -57,15 +57,18 @@ share/openttd/ai/compat_1.5.nut
share/openttd/ai/compat_1.6.nut
share/openttd/ai/compat_1.7.nut
share/openttd/ai/compat_1.8.nut
share/openttd/ai/compat_1.9.nut
share/openttd/baseset/
share/openttd/baseset/no_music.obm
share/openttd/baseset/no_sound.obs
share/openttd/baseset/openttd.grf
share/openttd/baseset/opntitle.dat
share/openttd/baseset/orig_dos.obg
share/openttd/baseset/orig_dos.obm
share/openttd/baseset/orig_dos.obs
share/openttd/baseset/orig_dos_de.obg
share/openttd/baseset/orig_extra.grf
share/openttd/baseset/orig_tto.obm
share/openttd/baseset/orig_win.obg
share/openttd/baseset/orig_win.obm
share/openttd/baseset/orig_win.obs
@ -77,6 +80,7 @@ share/openttd/game/compat_1.5.nut
share/openttd/game/compat_1.6.nut
share/openttd/game/compat_1.7.nut
share/openttd/game/compat_1.8.nut
share/openttd/game/compat_1.9.nut
share/openttd/lang/
share/openttd/lang/afrikaans.lng
share/openttd/lang/arabic_egypt.lng
@ -139,12 +143,15 @@ share/openttd/media/baseset/
share/openttd/media/baseset/no_music.obm
share/openttd/media/baseset/no_sound.obs
share/openttd/media/baseset/orig_dos.obg
share/openttd/media/baseset/orig_dos.obm
share/openttd/media/baseset/orig_dos.obs
share/openttd/media/baseset/orig_dos_de.obg
share/openttd/media/baseset/orig_tto.obm
share/openttd/media/baseset/orig_win.obg
share/openttd/media/baseset/orig_win.obm
share/openttd/media/baseset/orig_win.obs
share/openttd/media/baseset/translations.awk
share/openttd/media/baseset/translations.vbs
share/openttd/media/extra_grf/
share/openttd/media/extra_grf/2ccmap.nfo
share/openttd/media/extra_grf/airport_preview.nfo
@ -179,6 +186,7 @@ share/openttd/media/extra_grf/oneway.png
share/openttd/media/extra_grf/openttd.nfo
share/openttd/media/extra_grf/openttdgui.nfo
share/openttd/media/extra_grf/openttdgui.png
share/openttd/media/extra_grf/openttdgui_group_livery.png
share/openttd/media/extra_grf/orig_extra.nfo
share/openttd/media/extra_grf/palette.nfo
share/openttd/media/extra_grf/rivers/