From owner-svn-ports-all@freebsd.org Wed Feb 3 22:27:15 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A61F8A9AB58; Wed, 3 Feb 2016 22:27:15 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59A951D99; Wed, 3 Feb 2016 22:27:15 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u13MREg3016525; Wed, 3 Feb 2016 22:27:14 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u13MREge016523; Wed, 3 Feb 2016 22:27:14 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201602032227.u13MREge016523@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Wed, 3 Feb 2016 22:27:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407998 - in head/security/pwman: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 22:27:15 -0000 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