From owner-freebsd-ports@freebsd.org Sun Apr 24 09:59:05 2016 Return-Path: Delivered-To: freebsd-ports@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 F3BCCB19103 for ; Sun, 24 Apr 2016 09:59:04 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.infocus-llc.com (mail.infocus-llc.com [199.15.120.13]) (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 D4015127C for ; Sun, 24 Apr 2016 09:59:04 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (c-75-65-60-66.hsd1.ms.comcast.net [75.65.60.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tarragon.infocus-llc.com (Postfix) with ESMTPSA id 3qt4ZH3SyRzpM; Sun, 24 Apr 2016 04:59:03 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 3qt4ZG5C8rz34Y; Sun, 24 Apr 2016 04:59:02 -0500 (CDT) Date: Sun, 24 Apr 2016 04:59:02 -0500 From: "Matthew D. Fuller" To: abi Cc: freebsd-ports@freebsd.org Subject: Re: Making a port - debugging cmake check_include_file Message-ID: <20160424095902.GW83618@over-yonder.net> References: <571BE034.9070200@abinet.ru> <20160423215530.GP83618@over-yonder.net> <571BF713.4040607@abinet.ru> <20160424071351.GQ83618@over-yonder.net> <571C876F.3040000@abinet.ru> <20160424090004.GT83618@over-yonder.net> <571C8D61.6010200@abinet.ru> <20160424094344.GV83618@over-yonder.net> <571C968A.9060505@abinet.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <571C968A.9060505@abinet.ru> X-Editor: vi X-OS: FreeBSD X-Virus-Scanned: clamav-milter 0.99 at mail.tarragon.infocus-llc.com X-Virus-Status: Clean User-Agent: Mutt/1.6.0-fullermd.4 (2016-04-01) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2016 09:59:05 -0000 On Sun, Apr 24, 2016 at 12:48:58PM +0300 I heard the voice of abi, and lo! it spake thus: > > I passed -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" from > port Makefile. > Looks like the best solution - no need to poke upstream or make patch. Interesting. It's not clear from the docs that CMAKE_REQUIRED_INCLUDES affects the actual build of the program (or anything except the check_include_file() from a look around, actually). Well, if it works... -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.