games-strategy/openra: fix VERSION

This fixes multiplayer games, catched by friedrich.
This commit is contained in:
Julian Ospald 2016-05-21 17:07:20 +02:00
parent 6ecb5687c9
commit 9c0c8a3b3f
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -116,7 +116,7 @@ src_configure() { :; }
src_prepare() { src_prepare() {
# register game-version # register game-version
emake VERSION="${PV}" version emake VERSION="release-${PV}" version
edo sed \ edo sed \
-e "s/@LIBLUA51@/liblua5.1.so/" \ -e "s/@LIBLUA51@/liblua5.1.so/" \
@ -127,7 +127,7 @@ src_prepare() {
} }
src_compile() { src_compile() {
emake VERSION="${PV}" core tools emake VERSION="release-${PV}" core tools
} }
src_install() { src_install() {
@ -135,7 +135,7 @@ src_install() {
datadir="/usr/share" \ datadir="/usr/share" \
bindir="/usr/$(exhost --target)/bin" \ bindir="/usr/$(exhost --target)/bin" \
libdir="/usr/$(exhost --target)/libexec" \ libdir="/usr/$(exhost --target)/libexec" \
VERSION="${PV}" \ VERSION="release-${PV}" \
DESTDIR="${IMAGE}" \ DESTDIR="${IMAGE}" \
install-all install-linux-scripts install-linux-mime install-linux-icons install-all install-linux-scripts install-linux-mime install-linux-icons