1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

- Update to 0.4.8-rc2

This commit is contained in:
Dmitry Marakasov 2018-08-05 20:25:54 +00:00
parent b371aee696
commit c512c04072
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476473
3 changed files with 4 additions and 34 deletions

View File

@ -3,8 +3,7 @@
PORTNAME= freeorion
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.8-rc1
PORTREVISION= 1
DISTVERSION= 0.4.8-rc2
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1530197828
SHA256 (freeorion-freeorion-v0.4.8-rc1_GH0.tar.gz) = 0963ec3573b8ab71278687a9ad143fda083171b651adab6b3cf6705fe93741c9
SIZE (freeorion-freeorion-v0.4.8-rc1_GH0.tar.gz) = 106224914
TIMESTAMP = 1533298586
SHA256 (freeorion-freeorion-v0.4.8-rc2_GH0.tar.gz) = 7a88858021cc23e308cb333327b16feccadc636c9afac2ba602e9dc5842745c0
SIZE (freeorion-freeorion-v0.4.8-rc2_GH0.tar.gz) = 106234158

View File

@ -1,29 +0,0 @@
commit 618568705a0ca37ffd9e88d08cda3d3601d01d98
Author: Dmitry Marakasov <amdmi3@amdmi3.ru>
Date: Fri Jun 29 19:42:52 2018 +0300
Fix compatibility with boost 1.67.0
diff --git CMakeLists.txt CMakeLists.txt
index 5b2fe63a7..4d26e06a2 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -204,11 +204,17 @@ find_package(Boost ${MINIMUM_BOOST_VERSION}
log_setup
regex
serialization
- python
signals
system
thread
REQUIRED)
+if(${Boost_VERSION} GREATER 106699) # boost >= 1.67
+ find_package(Boost COMPONENTS python27 REQUIRED)
+ set(Boost_PYTHON_LIBRARY ${Boost_PYTHON27_LIBRARY})
+else()
+ find_package(Boost COMPONENTS python REQUIRED)
+endif()
+
find_package(ZLIB REQUIRED)
if(NOT BUILD_HEADLESS)
find_package(Freetype REQUIRED)