From a64f30761ad5a04cf9aac75629a884e7730d9301 Mon Sep 17 00:00:00 2001 From: marino Date: Tue, 2 Feb 2016 23:33:07 +0000 Subject: misc/delay: document ncurses requirement (USES+=ncurses) approved by: infrastructure blanket --- misc/delay/Makefile | 1 + misc/delay/files/patch-configure | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 misc/delay/files/patch-configure diff --git a/misc/delay/Makefile b/misc/delay/Makefile index 032f5da..5da7b55 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 0000000..5279ffa --- /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 <&6 -- cgit v1.1