Use macro PKG_QUERY instead of hardcoded pkg query
Submitted by: tgyurci@gmail.com Differential Revision: https://reviews.freebsd.org/D8700
This commit is contained in:
parent
75ce1dd92c
commit
15ed325b44
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542782
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ NCURSES_INSTALLED?=
|
|||
|
||||
.if ${NCURSES_INSTALLED} != ""
|
||||
NCURSES_PORT= ${NCURSES_INSTALLED}
|
||||
NCURSES_SHLIBFILE!= ${PKG_INFO} -ql ${NCURSES_INSTALLED} | grep -m 1 "^`pkg query "%p" ${NCURSES_INSTALLED}`/lib/libncurses.so."
|
||||
NCURSES_SHLIBFILE!= ${PKG_INFO} -ql ${NCURSES_INSTALLED} | grep -m 1 "^`${PKG_QUERY} "%p" ${NCURSES_INSTALLED}`/lib/libncurses.so."
|
||||
NCURSES_SHLIBVER?= ${NCURSES_SHLIBFILE:E}
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue