Updated the package to compile on NetBSD 9

Removed ja2-launcher build routine
This commit is contained in:
Astr0 2020-10-19 17:40:07 +02:00
parent 2f05fd8d14
commit 8bccdab4c9
5 changed files with 18 additions and 7 deletions

View File

@ -1,6 +1,3 @@
Opensource re-implementation of Jagged Alliance 2
-Note: on NetBSD 8.2 adm64 following was observed
For RUSTC/CARGO to work set a symlink from /usr/pkg/etc/openssl/certs to
/etc/openssl/certs
You will need the original datafiles to play the
game. Run ja2 -help for more info

View File

@ -1,2 +0,0 @@
For RUSTC/CARGO to work set a symlink from /usr/pkg/etc/openssl/certs to
/etc/openssl/certs

View File

@ -43,6 +43,8 @@ do-install:
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../x11/fltk13/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/rust/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../fonts/SDL2_ttf/buildlink3.mk"

View File

@ -4,3 +4,4 @@ SHA1 (ja2-stracciatella/ja2-0.16.1.tar.gz) = e7ff04d609fd4f6e4d580abdc1f5cb85de7
RMD160 (ja2-stracciatella/ja2-0.16.1.tar.gz) = 1333c76ff5141275f9cbd685176d1c729d902b96
SHA512 (ja2-stracciatella/ja2-0.16.1.tar.gz) = 481d58fc852c6c22fc90d33e8d1f7abd81c43fefc23fe236abb6a2830d87816e06fc260e1acca1b8d2e811ff4245cf5a9ab75b288b201ad3a6dd75de667a5fb0
Size (ja2-stracciatella/ja2-0.16.1.tar.gz) = 25971172 bytes
SHA1 (patch-CMakeLists.txt) = 34497d985b64b9341b5d8869c9fd728b1724bd4a

View File

@ -0,0 +1,13 @@
$NetBSD$
--- CMakeLists.txt.orig 2018-01-30 11:03:21.000000000 +0000
+++ CMakeLists.txt
@@ -47,7 +47,7 @@ option(LOCAL_GTEST_LIB "Build with local
option(WITH_UNITTESTS "Build with unittests" ON)
option(WITH_FIXMES "Build with fixme messages" OFF)
option(WITH_MAEMO "Build with right click mapped to F4 (menu button)" OFF)
-option(BUILD_LAUNCHER "Build the ja2 launcher application" ON)
+option(BUILD_LAUNCHER "Build the ja2 launcher application" OFF)
## Build