Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2019 19:03:55 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510408 - head/games/opentyrian
Message-ID:  <201908311903.x7VJ3tDV002787@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908311903.x7VJ3tDV002787>