games/DDNet: fix running own binaries
Specify path to binary dir explicitly, so the game could find its own binary for correctly restarting and server binary for running it
This commit is contained in:
parent
953b6f2945
commit
397395a4e5
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= DDNet
|
||||
PORTVERSION= 15.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= https://ddnet.tw/downloads/
|
||||
|
||||
|
@ -14,6 +14,8 @@ USES= cmake compiler:c++11-lang pkgconfig python sqlite:3 ssl tar:xz
|
|||
CMAKE_ARGS= -DPYTHON_EXECUTABLE="${PYTHON_CMD}"
|
||||
CMAKE_OFF= AUTOUPDATE DOWNLOAD_GTEST PREFER_BUNDLED_LIBS
|
||||
|
||||
CXXFLAGS+= -DBINARY_DIR="\\\"${PREFIX}/bin\\\""
|
||||
|
||||
PORTDATA= *
|
||||
DATADIR= ${PREFIX}/share/ddnet
|
||||
|
||||
|
|
Loading…
Reference in a new issue