ports/games/oldrunner/files/patch-configure
John Marino c9832f80da 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
2016-01-31 17:30:25 +00:00

20 lines
539 B
Text

--- 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
;;
# ------------------------------------------------------------------------------