Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2016 17:30:25 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407654 - in head/games/oldrunner: . files
Message-ID:  <201601311730.u0VHUPdZ034077@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Jan 31 17:30:25 2016
New Revision: 407654
URL: https://svnweb.freebsd.org/changeset/ports/407654

Log:
  games/oldrunner: document ncurses requirement (USES+=ncurses)
  
  Also make it link to libncurses rather than libcurses.
  While here, pull in DragonFly support patch from dports.
  
  approved by:	infrastructure blanket

Added:
  head/games/oldrunner/files/patch-configure   (contents, props changed)
Modified:
  head/games/oldrunner/Makefile

Modified: head/games/oldrunner/Makefile
==============================================================================
--- head/games/oldrunner/Makefile	Sun Jan 31 17:19:09 2016	(r407653)
+++ head/games/oldrunner/Makefile	Sun Jan 31 17:30:25 2016	(r407654)
@@ -11,7 +11,7 @@ COMMENT=	Textmode remake of Broderbund's
 
 LICENSE=	BSD2CLAUSE
 
-USES=		gmake
+USES=		ncurses gmake
 HAS_CONFIGURE=	yes
 MAKEFILE=	GNUmakefile
 

Added: head/games/oldrunner/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/oldrunner/files/patch-configure	Sun Jan 31 17:30:25 2016	(r407654)
@@ -0,0 +1,20 @@
+--- configure.orig	2010-07-17 17:30:32 UTC
++++ configure
+@@ -43,7 +43,7 @@ EOF
+ 
+ case $OLDRUNNER_PLATFORM in
+ # ------------------------------------------------------------------------------
+-    OpenBSD|FreeBSD)
++    OpenBSD|FreeBSD|DragonFly)
+ 	cat <<EOF >>$CONFIG_H
+ #define HAVE_CURSES_H
+ #define HAVE_BZERO
+@@ -52,7 +52,7 @@ case $OLDRUNNER_PLATFORM in
+ #define HAVE_STRTONUM
+ EOF
+ 	cat <<EOF >>$CONFIG_MK
+-LIBS+= -lcurses
++LIBS+= -lncurses
+ EOF
+ 	;;
+ # ------------------------------------------------------------------------------



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