diff options
-rw-r--r-- | games/oldrunner/Makefile | 2 | ||||
-rw-r--r-- | games/oldrunner/files/patch-configure | 20 |
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 + ;; + # ------------------------------------------------------------------------------ |