Date: Wed, 3 Feb 2016 22:27:14 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407998 - in head/security/pwman: . files Message-ID: <201602032227.u13MREge016523@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Feb 3 22:27:14 2016 New Revision: 407998 URL: https://svnweb.freebsd.org/changeset/ports/407998 Log: security/pwman: document ncurses requirement (USES+=ncurses) Also link with libncurses, not libcurses Added: head/security/pwman/files/patch-configure (contents, props changed) Modified: head/security/pwman/Makefile Modified: head/security/pwman/Makefile ============================================================================== --- head/security/pwman/Makefile Wed Feb 3 22:16:34 2016 (r407997) +++ head/security/pwman/Makefile Wed Feb 3 22:27:14 2016 (r407998) @@ -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 Added: head/security/pwman/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pwman/files/patch-configure Wed Feb 3 22:27:14 2016 (r407998) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602032227.u13MREge016523>