1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

misc/delay: document ncurses requirement (USES+=ncurses)

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-02-02 23:33:07 +00:00
parent 1022434e9e
commit 2fa62d4050
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407909
2 changed files with 30 additions and 0 deletions

View File

@ -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

View File

@ -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