svn commit: r393696 - head/Mk/Uses
Xin LI
delphij at FreeBSD.org
Fri Aug 7 16:18:12 UTC 2015
Author: delphij
Date: Fri Aug 7 16:18:11 2015
New Revision: 393696
URL: https://svnweb.freebsd.org/changeset/ports/393696
Log:
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
Modified:
head/Mk/Uses/ncurses.mk
Modified: head/Mk/Uses/ncurses.mk
==============================================================================
--- head/Mk/Uses/ncurses.mk Fri Aug 7 14:48:49 2015 (r393695)
+++ head/Mk/Uses/ncurses.mk Fri Aug 7 16:18:11 2015 (r393696)
@@ -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
More information about the svn-ports-all
mailing list