Tue Aug 18 02:50:51 2020 UTC ()
openrct2: package requires an Internet connection to build, add comment

Normally I would just mark it BROKEN but it seems to actually verify
the checksum of the file it tries to fetch during install stage.
Still, this needs to be fixed.


(tnn)
diff -r1.9 -r1.10 pkgsrc/games/openrct2/Makefile

cvs diff -r1.9 -r1.10 pkgsrc/games/openrct2/Makefile (expand / switch to unified diff)

--- pkgsrc/games/openrct2/Makefile 2020/08/17 20:18:50 1.9
+++ pkgsrc/games/openrct2/Makefile 2020/08/18 02:50:51 1.10
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.9 2020/08/17 20:18:50 leot Exp $ 1# $NetBSD: Makefile,v 1.10 2020/08/18 02:50:51 tnn Exp $
2 2
3DISTNAME= openrct2-0.2.4 3DISTNAME= openrct2-0.2.4
4PKGREVISION= 8 4PKGREVISION= 8
5CATEGORIES= games 5CATEGORIES= games
6MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenRCT2/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenRCT2/}
7GITHUB_PROJECT= OpenRCT2 7GITHUB_PROJECT= OpenRCT2
8GITHUB_TAG= v${PKGVERSION_NOREV} 8GITHUB_TAG= v${PKGVERSION_NOREV}
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://github.com/OpenRCT2/OpenRCT2/ 11HOMEPAGE= https://github.com/OpenRCT2/OpenRCT2/
12COMMENT= Open source reimplementation of RollerCoaster Tycoon 2 12COMMENT= Open source reimplementation of RollerCoaster Tycoon 2
13LICENSE= gnu-gpl-v3 13LICENSE= gnu-gpl-v3
14 14
@@ -16,26 +16,37 @@ USE_CMAKE= yes @@ -16,26 +16,37 @@ USE_CMAKE= yes
16USE_TOOLS+= pkg-config 16USE_TOOLS+= pkg-config
17USE_LANGUAGES= c c++17 17USE_LANGUAGES= c c++17
18 18
19# C++17 19# C++17
20GCC_REQD+= 7 20GCC_REQD+= 7
21 21
22CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release" 22CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
23 23
24CXXFLAGS+= -DORCT2_RESOURCE_DIR=\"${PREFIX}/share/openrct2\" 24CXXFLAGS+= -DORCT2_RESOURCE_DIR=\"${PREFIX}/share/openrct2\"
25 25
26CONFIGURE_DIRS= build 26CONFIGURE_DIRS= build
27CMAKE_ARG_PATH= .. 27CMAKE_ARG_PATH= ..
28 28
 29# XXX it cannot be built without an Internet connection.
 30# Fails during install stage:
 31# CMake Error at cmake_install.cmake:48 (file):
 32# file DOWNLOAD HASH mismatch
 33#
 34# for file: [/wrk/games/openrct2/work/.destdir/p/share/openrct2/title/title-sequences.zip]
 35# expected hash: [304d13a126c15bf2c86ff13b81a2f2cc1856ac8d]
 36# actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
 37# status: [6;"Couldn't resolve host name"]
 38#
 39
29pre-configure: 40pre-configure:
30 ${MKDIR} ${WRKSRC}/build 41 ${MKDIR} ${WRKSRC}/build
31 42
32.include "../../archivers/libzip/buildlink3.mk" 43.include "../../archivers/libzip/buildlink3.mk"
33.include "../../audio/speexdsp/buildlink3.mk" 44.include "../../audio/speexdsp/buildlink3.mk"
34.include "../../devel/SDL2/buildlink3.mk" 45.include "../../devel/SDL2/buildlink3.mk"
35.include "../../devel/zlib/buildlink3.mk" 46.include "../../devel/zlib/buildlink3.mk"
36.include "../../fonts/fontconfig/buildlink3.mk" 47.include "../../fonts/fontconfig/buildlink3.mk"
37.include "../../graphics/freetype2/buildlink3.mk" 48.include "../../graphics/freetype2/buildlink3.mk"
38.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 49.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
39.include "../../graphics/png/buildlink3.mk" 50.include "../../graphics/png/buildlink3.mk"
40.include "../../security/openssl/buildlink3.mk" 51.include "../../security/openssl/buildlink3.mk"
41.include "../../sysutils/desktop-file-utils/desktopdb.mk" 52.include "../../sysutils/desktop-file-utils/desktopdb.mk"