security/pwman: document ncurses requirement (USES+=ncurses)
Also link with libncurses, not libcurses
This commit is contained in:
parent
c64bc83de5
commit
76cac70f53
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407998
@ -14,8 +14,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
RUN_DEPENDS= gpgv:${PORTSDIR}/security/gnupg1
|
||||
|
||||
USES= ncurses
|
||||
USE_GNOME= libxml2
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= curses_loc=${NCURSESBASE}
|
||||
|
||||
PORTDOCS= AUTHORS ChangeLog README TODO
|
||||
PLIST_FILES= bin/convert_pwdb bin/pwdb2csv bin/pwman man/man1/pwman.1.gz
|
||||
|
28
security/pwman/files/patch-configure
Normal file
28
security/pwman/files/patch-configure
Normal file
@ -0,0 +1,28 @@
|
||||
--- configure.orig 2011-02-15 22:30:29 UTC
|
||||
+++ configure
|
||||
@@ -4339,13 +4339,13 @@ if test "${with_curses+set}" = set; then
|
||||
fi
|
||||
|
||||
|
||||
-{ echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
|
||||
-echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
|
||||
+{ echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
|
||||
+echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
|
||||
if test "${ac_cv_lib_curses_initscr+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lcurses $LIBS"
|
||||
+LIBS="-lncurses $LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@@ -4401,7 +4401,7 @@ fi
|
||||
{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
|
||||
echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
|
||||
if test $ac_cv_lib_curses_initscr = yes; then
|
||||
- LIBS="$LIBS -lcurses"
|
||||
+ LIBS="$LIBS -lncurses"
|
||||
if test x$curses_loc = x/usr -a -d /usr/include/ncurses; then
|
||||
CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user