aboutsummaryrefslogtreecommitdiff
path: root/games/oldrunner
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-01-31 17:30:25 +0000
committerJohn Marino <marino@FreeBSD.org>2016-01-31 17:30:25 +0000
commitc9832f80da3be2107da3c51885145afe82c21e8a (patch)
treebae0f04104cfb8513395d3d45c9a8304892256c9 /games/oldrunner
parent63011539556d626816cef83d46701cb97fb87a90 (diff)
downloadports-c9832f80da3be2107da3c51885145afe82c21e8a.tar.gz
ports-c9832f80da3be2107da3c51885145afe82c21e8a.zip
Notes
Diffstat (limited to 'games/oldrunner')
-rw-r--r--games/oldrunner/Makefile2
-rw-r--r--games/oldrunner/files/patch-configure20
2 files changed, 21 insertions, 1 deletions
diff --git a/games/oldrunner/Makefile b/games/oldrunner/Makefile
index 9849dc1565c4..24d5e87ba538 100644
--- a/games/oldrunner/Makefile
+++ b/games/oldrunner/Makefile
@@ -11,7 +11,7 @@ COMMENT= Textmode remake of Broderbund's LodeRunner
LICENSE= BSD2CLAUSE
-USES= gmake
+USES= ncurses gmake
HAS_CONFIGURE= yes
MAKEFILE= GNUmakefile
diff --git a/games/oldrunner/files/patch-configure b/games/oldrunner/files/patch-configure
new file mode 100644
index 000000000000..ae805923e1d3
--- /dev/null
+++ b/games/oldrunner/files/patch-configure
@@ -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
+ ;;
+ # ------------------------------------------------------------------------------