From owner-svn-ports-head@freebsd.org Fri Aug 7 16:18:12 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33BA99B4274; Fri, 7 Aug 2015 16:18:12 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C608855; Fri, 7 Aug 2015 16:18:12 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t77GIBeX027083; Fri, 7 Aug 2015 16:18:11 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t77GIBqC027082; Fri, 7 Aug 2015 16:18:11 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201508071618.t77GIBqC027082@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Fri, 7 Aug 2015 16:18:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393696 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2015 16:18:12 -0000 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