From owner-svn-ports-all@freebsd.org Sat Feb 13 13:15:35 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 322ECAA75FC; Sat, 13 Feb 2016 13:15:35 +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 03DBE1C51; Sat, 13 Feb 2016 13:15:34 +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 u1DDFXHI020287; Sat, 13 Feb 2016 13:15:33 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1DDFX89020286; Sat, 13 Feb 2016 13:15:33 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201602131315.u1DDFX89020286@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sat, 13 Feb 2016 13:15:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408793 - head/misc/iselect 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: Sat, 13 Feb 2016 13:15:35 -0000 Author: marino Date: Sat Feb 13 13:15:33 2016 New Revision: 408793 URL: https://svnweb.freebsd.org/changeset/ports/408793 Log: misc/iselect: USES+= ncurses, respect LDFLAGS Also link with ncurses, not curses Modified: head/misc/iselect/Makefile Modified: head/misc/iselect/Makefile ============================================================================== --- head/misc/iselect/Makefile Sat Feb 13 12:53:19 2016 (r408792) +++ head/misc/iselect/Makefile Sat Feb 13 13:15:33 2016 (r408793) @@ -13,7 +13,7 @@ COMMENT= Interactive Selection Tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= shebangfix +USES= ncurses shebangfix SHEBANG_FILES= example/gotourl/gotourl \ example/ilogin/ilogin \ example/melm/melm \ @@ -21,6 +21,7 @@ SHEBANG_FILES= example/gotourl/gotourl \ example/scvs/scvs perl_OLD_CMD= /sw/bin/perl GNU_CONFIGURE= yes +MAKE_ARGS= LDFLAGS="${LDFLAGS}" PLIST_FILES= bin/iselect man/man1/iselect.1.gz PORTEXAMPLES= * @@ -32,7 +33,8 @@ SLANG_CONFIGURE_ON= --with-incdir=${LOCA --with-libdir=${LOCALBASE}/lib post-patch: - @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' \ + -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${WRKSRC}/iselect ${STAGEDIR}${PREFIX}/bin