svn commit: r407909 - in head/misc/delay: . files

John Marino marino at FreeBSD.org
Tue Feb 2 23:33:09 UTC 2016


Author: marino
Date: Tue Feb  2 23:33:07 2016
New Revision: 407909
URL: https://svnweb.freebsd.org/changeset/ports/407909

Log:
  misc/delay: document ncurses requirement (USES+=ncurses)
  
  approved by:	infrastructure blanket

Added:
  head/misc/delay/files/patch-configure   (contents, props changed)
Modified:
  head/misc/delay/Makefile

Modified: head/misc/delay/Makefile
==============================================================================
--- head/misc/delay/Makefile	Tue Feb  2 23:17:14 2016	(r407908)
+++ head/misc/delay/Makefile	Tue Feb  2 23:33:07 2016	(r407909)
@@ -10,6 +10,7 @@ MASTER_SITES=	http://onegeek.org/~tom/so
 MAINTAINER=	gmarco at gufi.org
 COMMENT=	Delay program with feedback to the user
 
+USES=		ncurses
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/delay man/man1/delay.1.gz

Added: head/misc/delay/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/delay/files/patch-configure	Tue Feb  2 23:33:07 2016	(r407909)
@@ -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


More information about the svn-ports-all mailing list