aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-03 07:33:07 +0800
committermarino <marino@FreeBSD.org>2016-02-03 07:33:07 +0800
commita64f30761ad5a04cf9aac75629a884e7730d9301 (patch)
tree86cd09a641605523fa161502879b094a146a08eb /misc
parente3bc67389609173857738b7bcf30ccac3eecb9ff (diff)
downloadfreebsd-ports-gnome-a64f30761ad5a04cf9aac75629a884e7730d9301.tar.gz
freebsd-ports-gnome-a64f30761ad5a04cf9aac75629a884e7730d9301.tar.zst
freebsd-ports-gnome-a64f30761ad5a04cf9aac75629a884e7730d9301.zip
misc/delay: document ncurses requirement (USES+=ncurses)
approved by: infrastructure blanket
Diffstat (limited to 'misc')
-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