Changeset View
Changeset View
Standalone View
Standalone View
head/games/keeperrl/Makefile
Show All 23 Lines | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= miki151 | GH_ACCOUNT= miki151 | ||||
GH_TAGNAME= alpha${ALPHA_VERSION} | GH_TAGNAME= alpha${ALPHA_VERSION} | ||||
USE_GL= gl | USE_GL= gl | ||||
USE_SDL= sdl2 image2 | USE_SDL= sdl2 image2 | ||||
ALPHA_VERSION= 23 | ALPHA_VERSION= 23 | ||||
LIBS+= -lexecinfo | LIBS+= -lexecinfo | ||||
LLD_UNSAFE= yes | |||||
MAKE_ARGS= DATA_DIR="${DATADIR}" GCC="${CXX}" \ | MAKE_ARGS= DATA_DIR="${DATADIR}" GCC="${CXX}" \ | ||||
LDFLAGS="${LDFLAGS}" RELEASE=true | LDFLAGS="${LDFLAGS}" RELEASE=true | ||||
# USE_GCC adds -Wl,-rpath=${_GCC_RUNTIME} which breaks -x c++-header | # USE_GCC adds -Wl,-rpath=${_GCC_RUNTIME} which breaks -x c++-header | ||||
MAKE_ARGS+= PCH= PCHINC= | MAKE_ARGS+= PCH= PCHINC= | ||||
LDFLAGS_i386= -Wl,-znotext | |||||
DESKTOP_ENTRIES="KeeperRL" "" "" "keeper" \ | DESKTOP_ENTRIES="KeeperRL" "" "" "keeper" \ | ||||
"Game;Simulation;" false | "Game;Simulation;" false | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e '/^CFLAGS =/ s|=|= ${CFLAGS}|' \ | @${REINPLACE_CMD} -e '/^CFLAGS =/ s|=|= ${CFLAGS}|' \ | ||||
-e '/^LIBS =/ s|$$| ${LIBS}|' \ | -e '/^LIBS =/ s|$$| ${LIBS}|' \ | ||||
-e 's|bash|sh|' \ | -e 's|bash|sh|' \ | ||||
Show All 10 Lines |