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:
parent
1022434e9e
commit
2fa62d4050
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407909
@ -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
|
||||
|
29
misc/delay/files/patch-configure
Normal file
29
misc/delay/files/patch-configure
Normal 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
|
Loading…
Reference in New Issue
Block a user