Skip to content

Commit

Permalink
games-strategy/freeciv: Bump to version 2.6.0. Removed old.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.49, Repoman-2.3.10
  • Loading branch information
Lars Wendler committed Sep 14, 2018
1 parent 88da23e commit 0f842e1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion games-strategy/freeciv/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST freeciv-2.5.11.tar.bz2 40940090 BLAKE2B dfc1e714e1a3122335f555c2e57352726bda60dc0d1700b0d8ae937c85cba6beb0b2a6ffa6266b77437934ed85f1740f319c379a10c217161ee147f2339a50d3 SHA512 f5eac2fc2b7e09b9fd3b8b45145a5359f8216aef49050c692893d30584000c7db2f2a6e66ac19e67186e2653efaa0aa7656abefe2d2de25d123e9a52ce604456
DIST freeciv-2.6.0-RC2.tar.bz2 51828653 BLAKE2B 87e83e23cb1cec91e408415a5c0b7f4f2fc438f239ca48ba4e713b89c8624fdd58c1888ff53119196085b1f7f2c663af91df4af9c789c3238465f887758bf09f SHA512 254e492bb2ece390bcdb6c7ec9151b812811e7a1bff72eea4a9179a97c865d754436c5a02de2acb1ccf86850e1dd7db1218a84b836d18400217813d0c0ae173c
DIST freeciv-2.6.0.tar.bz2 51912466 BLAKE2B 180fa8900af6763ecae9190ce24799a77b8504d98081e48600c16c19e814b2ff1ef01ce6a41cb1a1739f848895e1551ba158f0357602f758e76b9ee6e0104a36 SHA512 658f05ed32a2045eeeadd1e12f88df927378f8032292e709af78f24c2dbc6019ba45ce67e4fe24001a9e70756c68126a313607a81e7009270ad255d7c9fe75d8
Original file line number Diff line number Diff line change
Expand Up @@ -89,23 +89,23 @@ src_prepare() {
}

src_configure() {
local myclient mydatabase myeconfargs
local myclient=() mydatabase=() myeconfargs=()

if use auth ; then
if ! use mysql && ! use sqlite ; then
einfo "No database backend chosen, defaulting"
einfo "to mysql!"
mydatabase=mysql
mydatabase=( mysql )
else
use mysql && mydatabase+=" mysql"
use sqlite && mydatabase+=" sqlite3"
use mysql && mydatabase+=( mysql )
use sqlite && mydatabase+=( sqlite3 )
fi
else
mydatabase=no
mydatabase=( no )
fi

if use dedicated ; then
myclient="no"
myclient=( no )
myeconfargs+=(
--enable-server
--enable-freeciv-manual=html
Expand All @@ -114,12 +114,12 @@ src_configure() {
if use !sdl && use !gtk && ! use qt5 ; then
einfo "No client backend given, defaulting to"
einfo "gtk2 client!"
myclient="gtk2"
myclient=( gtk2 )
else
use sdl && myclient+=" sdl2"
use gtk && myclient+=" gtk2"
use sdl && myclient+=( sdl2 )
use gtk && myclient+=( gtk2 )
if use qt5 ; then
myclient+=" qt"
myclient+=( qt )
append-cxxflags -std=c++11
fi
fi
Expand All @@ -131,8 +131,8 @@ src_configure() {

myeconfargs+=(
--enable-aimodules="$(usex aimodules "yes" "no")"
--enable-client="${myclient}"
--enable-fcdb="${mydatabase}"
--enable-client="${myclient[*]}"
--enable-fcdb="${mydatabase[*]}"
--enable-fcmp="$(usex modpack "gtk2" "no")"
# disabling shared libs will break aimodules USE flag
--enable-shared
Expand Down

0 comments on commit 0f842e1

Please sign in to comment.