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
This commit is contained in:
parent
6301153955
commit
c9832f80da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407654
2 changed files with 21 additions and 1 deletions
|
@ -11,7 +11,7 @@ COMMENT= Textmode remake of Broderbund's LodeRunner
|
|||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
USES= gmake
|
||||
USES= ncurses gmake
|
||||
HAS_CONFIGURE= yes
|
||||
MAKEFILE= GNUmakefile
|
||||
|
||||
|
|
20
games/oldrunner/files/patch-configure
Normal file
20
games/oldrunner/files/patch-configure
Normal file
|
@ -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
|
||||
;;
|
||||
# ------------------------------------------------------------------------------
|
Loading…
Reference in a new issue