diff options
author | Xin LI <delphij@FreeBSD.org> | 2015-08-07 16:18:11 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2015-08-07 16:18:11 +0000 |
commit | a4d81d719adde03e4f17ad9d3489133207cf29da (patch) | |
tree | 969c8590e445c0c35234d084dc157100864a6c8f /Mk/Uses | |
parent | net/syncthing-discosrv: update db dir (diff) |
Previously, ncurses.mk tests for header instead of the shared library
symlink itself, and this would cause problem for portsnap builder
(addressed differently by including the header file).
Make the test more consistent with port version of ncurses by checking
the shared library instead. (the location is the same on all supported
versions of FreeBSD).
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D3326
Notes
Notes:
svn path=/head/; revision=393696
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/ncurses.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/ncurses.mk b/Mk/Uses/ncurses.mk index 6b7ce1212c43..413a8f8132a9 100644 --- a/Mk/Uses/ncurses.mk +++ b/Mk/Uses/ncurses.mk @@ -27,7 +27,7 @@ _INCLUDE_USES_NCURSES_MK= yes .if empty(ncurses_ARGS) -. if !exists(${DESTDIR}/${LOCALBASE}/lib/libncurses.so) && exists(${DESTDIR}/usr/include/ncurses.h) +. if !exists(${DESTDIR}/${LOCALBASE}/lib/libncurses.so) && exists(${DESTDIR}/usr/lib/libncurses.so) ncurses_ARGS= base . else ncurses_ARGS= port |