aboutsummaryrefslogtreecommitdiff
path: root/misc/delay
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-02 23:33:07 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-02 23:33:07 +0000
commit2fa62d405051b59bc9c64d35b303b4ccd9a32e6f (patch)
tree86cd09a641605523fa161502879b094a146a08eb /misc/delay
parent1022434e9eb510c2648a082a68703d193a9f426e (diff)
downloadports-2fa62d405051b59bc9c64d35b303b4ccd9a32e6f.tar.gz
ports-2fa62d405051b59bc9c64d35b303b4ccd9a32e6f.zip
misc/delay: document ncurses requirement (USES+=ncurses)
approved by: infrastructure blanket
Notes
Notes: svn path=/head/; revision=407909
Diffstat (limited to 'misc/delay')
-rw-r--r--misc/delay/Makefile1
-rw-r--r--misc/delay/files/patch-configure29
2 files changed, 30 insertions, 0 deletions
diff --git a/misc/delay/Makefile b/misc/delay/Makefile
index 032f5da782f6..5da7b55a8a13 100644
--- a/misc/delay/Makefile
+++ b/misc/delay/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= http://onegeek.org/~tom/software/delay/dl/ \
MAINTAINER= gmarco@gufi.org
COMMENT= Delay program with feedback to the user
+USES= ncurses
GNU_CONFIGURE= yes
PLIST_FILES= bin/delay man/man1/delay.1.gz
diff --git a/misc/delay/files/patch-configure b/misc/delay/files/patch-configure
new file mode 100644
index 000000000000..5279ffaa7d37
--- /dev/null
+++ b/misc/delay/files/patch-configure
@@ -0,0 +1,29 @@
+--- configure.orig 2002-02-09 15:27:38 UTC
++++ configure
+@@ -1501,14 +1501,14 @@ EOF
+ fi
+
+
+-echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6
+-echo "configure:1506: checking for initscr in -lcurses" >&5
++echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6
++echo "configure:1506: checking for initscr in -lncurses" >&5
+ ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lcurses $LIBS"
++LIBS="-lncurses $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1514 "configure"
+ #include "confdefs.h"
+@@ -1542,7 +1542,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lcurses $LIBS"
++ LIBS="-lncurses $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6