svn commit: r407654 - in head/games/oldrunner: . files
John Marino
marino at FreeBSD.org
Sun Jan 31 17:30:26 UTC 2016
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
+ ;;
+ # ------------------------------------------------------------------------------
More information about the svn-ports-head
mailing list