svn commit: r510408 - head/games/opentyrian
Tobias Kortkamp
tobik at FreeBSD.org
Sat Aug 31 19:03:55 UTC 2019
Author: tobik
Date: Sat Aug 31 19:03:55 2019
New Revision: 510408
URL: https://svnweb.freebsd.org/changeset/ports/510408
Log:
games/opentyrian: Fix always broken NETWORK option
There are no MAKE_ON or MAKE_OFF options helpers.
Add missing USES=sdl while here.
Modified:
head/games/opentyrian/Makefile
Modified: head/games/opentyrian/Makefile
==============================================================================
--- head/games/opentyrian/Makefile Sat Aug 31 18:01:41 2019 (r510407)
+++ head/games/opentyrian/Makefile Sat Aug 31 19:03:55 2019 (r510408)
@@ -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
More information about the svn-ports-head
mailing list