diff options
author | marino <marino@FreeBSD.org> | 2016-01-31 17:30:25 +0000 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-01-31 17:30:25 +0000 |
commit | 2e7966c262e7bfb46b1e076201dc1f31ca41c415 (patch) | |
tree | bae0f04104cfb8513395d3d45c9a8304892256c9 | |
parent | 5e2ef1ea1d45f19b4136478628ff3b2dbb3f302a (diff) | |
download | FreeBSD-ports-2e7966c262e7bfb46b1e076201dc1f31ca41c415.zip FreeBSD-ports-2e7966c262e7bfb46b1e076201dc1f31ca41c415.tar.gz |
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
-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 9849dc1..24d5e87 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 0000000..ae80592 --- /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 + ;; + # ------------------------------------------------------------------------------ |