mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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
2 changed files with 30 additions and 0 deletions
|
@ -10,6 +10,7 @@ MASTER_SITES= http://onegeek.org/~tom/software/delay/dl/ \
|
||||||
MAINTAINER= gmarco@gufi.org
|
MAINTAINER= gmarco@gufi.org
|
||||||
COMMENT= Delay program with feedback to the user
|
COMMENT= Delay program with feedback to the user
|
||||||
|
|
||||||
|
USES= ncurses
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
PLIST_FILES= bin/delay man/man1/delay.1.gz
|
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…
Add table
Reference in a new issue