From owner-svn-ports-head@freebsd.org Mon Dec 23 08:42:41 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C0BB81E99CC; Mon, 23 Dec 2019 08:42:41 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47hCXd4cRKz4NwN; Mon, 23 Dec 2019 08:42:41 +0000 (UTC) (envelope-from bapt@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9986AD572; Mon, 23 Dec 2019 08:42:41 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBN8gfCA010432; Mon, 23 Dec 2019 08:42:41 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBN8gfnb010431; Mon, 23 Dec 2019 08:42:41 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201912230842.xBN8gfnb010431@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Mon, 23 Dec 2019 08:42:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520688 - head/sysutils/powermon X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: head/sysutils/powermon X-SVN-Commit-Revision: 520688 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2019 08:42:41 -0000 Author: bapt Date: Mon Dec 23 08:42:41 2019 New Revision: 520688 URL: https://svnweb.freebsd.org/changeset/ports/520688 Log: Replace hardcoded -lcursesw with a version that depends on NCURSES_IMPL to be futur proof While here, add the missing USES=ncurses Modified: head/sysutils/powermon/Makefile Modified: head/sysutils/powermon/Makefile ============================================================================== --- head/sysutils/powermon/Makefile Mon Dec 23 08:38:20 2019 (r520687) +++ head/sysutils/powermon/Makefile Mon Dec 23 08:42:41 2019 (r520688) @@ -17,9 +17,12 @@ ONLY_FOR_ARCHS_REASON= specific to recent x86 processo USE_GITHUB= yes GH_ACCOUNT= yamagi -USES= gmake +USES= gmake ncurses PLIST_FILES= man/man8/powermon.8.gz sbin/powermon + +post-patch: + ${REINPLACE_CMD} 's/cursesw/${NCURSES_IMPL}/g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/release/powermon \