mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Replace hardcoded -lcursesw with a version that depends on NCURSES_IMPL
to be futur proof While here, add the missing USES=ncurses
This commit is contained in:
parent
b487f95f17
commit
5db5fc71cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520688
@ -17,10 +17,13 @@ ONLY_FOR_ARCHS_REASON= specific to recent x86 processors
|
||||
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 \
|
||||
${STAGEDIR}${PREFIX}/sbin/powermon
|
||||
|
Loading…
Reference in New Issue
Block a user