Date: Fri, 7 Aug 2015 16:18:11 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393696 - head/Mk/Uses Message-ID: <201508071618.t77GIBqC027082@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508071618.t77GIBqC027082>