From owner-freebsd-current@freebsd.org  Tue Feb  2 12:34:48 2016
Return-Path: <owner-freebsd-current@freebsd.org>
Delivered-To: freebsd-current@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 52FCFA76710;
 Tue,  2 Feb 2016 12:34:48 +0000 (UTC) (envelope-from hps@selasky.org)
Received: from mail.turbocat.net (mail.turbocat.net
 [IPv6:2a01:4f8:d16:4514::2])
 (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 1D855A66;
 Tue,  2 Feb 2016 12:34:48 +0000 (UTC) (envelope-from hps@selasky.org)
Received: from laptop015.home.selasky.org (unknown [62.141.129.119])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id EE2A71FE022;
 Tue,  2 Feb 2016 13:34:45 +0100 (CET)
Subject: Re: Cannot include header files from sys/contrib directory
To: Marcin Mazurek <mma@semihalf.com>
References: <CAF-BqKpa56OB9rfvAkukMOE39j22xPb3Oj4U9UMkjhWrO0n5ag@mail.gmail.com>
 <56B09AAE.9000909@selasky.org>
 <CAF-BqKpvNKwZ9VamATP2L0j9PKoNR-ErTCkNks=QCKRpbJWBrQ@mail.gmail.com>
 <56B09F3A.1080409@selasky.org>
 <CAF-BqKpgjnLXKH1nLtYk5cG7HK7W45YWr1e192eh31FaUw5imA@mail.gmail.com>
Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org,
 Bryan Drewery <bdrewery@freebsd.org>
From: Hans Petter Selasky <hps@selasky.org>
Message-ID: <56B0A2F3.6080100@selasky.org>
Date: Tue, 2 Feb 2016 13:37:07 +0100
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101
 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <CAF-BqKpgjnLXKH1nLtYk5cG7HK7W45YWr1e192eh31FaUw5imA@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Feb 2016 12:34:48 -0000

On 02/02/16 13:29, Marcin Mazurek wrote:
> I just tested this, but without any result.
> I got the same errors.
>

Can you show the errors you got? Try temporarily adding "no-depend" 
keyword to the config line before build-with .

You should also update conf/XXX to have a special depend for your files, 
because there is no depend-with option.

--HPS