games/opentyrian: Fix always broken NETWORK option
There are no MAKE_ON or MAKE_OFF options helpers. Add missing USES=sdl while here.
This commit is contained in:
parent
5920ff4979
commit
3bec4f8b04
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=510408
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= opentyrian
|
||||
PORTVERSION= 2.1.20130907
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= https://bitbucket.org/opentyrian/opentyrian/get/ \
|
||||
http://mirror.amdmi3.ru/distfiles/${DIST_SUBDIR}/
|
||||
@ -17,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-77a8715634e3
|
||||
|
||||
USES= gmake tar:bzip2
|
||||
USES= gmake sdl tar:bzip2
|
||||
MAKE_ENV= ALL_CFLAGS="${CFLAGS}"
|
||||
USE_SDL= sdl
|
||||
SUB_FILES= pkg-message
|
||||
@ -31,8 +32,8 @@ OPTIONS_DEFINE= NETWORK DOCS
|
||||
|
||||
NETWORK_DESC= Enable network support
|
||||
NETWORK_USE= SDL=net
|
||||
NETWORK_MAKE_ON= WITH_NETWORK=true
|
||||
NETWORK_MAKE_OFF= WITH_NETWORK=false
|
||||
NETWORK_MAKE_ARGS= WITH_NETWORK=true
|
||||
NETWORK_MAKE_ARGS_OFF= WITH_NETWORK=false
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/custom_data_dir/ s|"."|"${DATADIR}"|' ${WRKSRC}/src/file.c
|
||||
|
Loading…
Reference in New Issue
Block a user