mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
freeorion: fix version generation
This commit is contained in:
parent
a0f8ddef7d
commit
d2c47809d9
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'freeorion'
|
# Template file for 'freeorion'
|
||||||
pkgname=freeorion
|
pkgname=freeorion
|
||||||
version=0.5.0.1
|
version=0.5.0.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cppcheck doxygen python3-pycodestyle"
|
hostmakedepends="cppcheck doxygen python3-pycodestyle"
|
||||||
makedepends="boost-devel libvorbis-devel
|
makedepends="boost-devel libvorbis-devel
|
||||||
|
@ -17,7 +17,7 @@ checksum=c6f62c3b400d50b336d62508ac5d5d656e4c0c8e57d0ff2b270f72381e68e1db
|
||||||
replaces="freeorion-data>=0"
|
replaces="freeorion-data>=0"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
cp util/Version.cpp.in util/Version.cpp
|
cp util/Version.cpp util/Version.cpp.in
|
||||||
if [ "$XBPS_WORDSIZE" = "32" ]; then
|
if [ "$XBPS_WORDSIZE" = "32" ]; then
|
||||||
CXXFLAGS+=" -g1"
|
CXXFLAGS+=" -g1"
|
||||||
LDFLAGS+=" -Wl,--no-keep-memory"
|
LDFLAGS+=" -Wl,--no-keep-memory"
|
||||||
|
|
Loading…
Add table
Reference in a new issue