Received: by mail.netbsd.org (Postfix, from userid 605) id 0815C84DE5; Tue, 21 Nov 2017 19:16:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8511184D5F for ; Tue, 21 Nov 2017 19:16:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id gQhnzNvkDP3c for ; Tue, 21 Nov 2017 19:16:48 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DC29F84C8D for ; Tue, 21 Nov 2017 19:16:47 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D329DFB40; Tue, 21 Nov 2017 19:16:47 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_151129180786980" MIME-Version: 1.0 Date: Tue, 21 Nov 2017 19:16:47 +0000 From: "Benny Siegert" Subject: CVS commit: pkgsrc/mk/platform To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20171121191647.D329DFB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_151129180786980 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bsiegert Date: Tue Nov 21 19:16:47 UTC 2017 Modified Files: pkgsrc/mk/platform: Linux.mk Log Message: Add /usr/local for include and libdir on ChromeOS. Third-party (i.e. non-pkgsrc) C toolchains (I am using chromebrew) install to /usr/local, as that is where you can have write access. With this, a bootstrap on ChromeOS finishes successfully. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 pkgsrc/mk/platform/Linux.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_151129180786980 Content-Disposition: inline Content-Length: 766 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/platform/Linux.mk diff -u pkgsrc/mk/platform/Linux.mk:1.77 pkgsrc/mk/platform/Linux.mk:1.78 --- pkgsrc/mk/platform/Linux.mk:1.77 Tue Oct 3 13:18:00 2017 +++ pkgsrc/mk/platform/Linux.mk Tue Nov 21 19:16:47 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.77 2017/10/03 13:18:00 jperkin Exp $ +# $NetBSD: Linux.mk,v 1.78 2017/11/21 19:16:47 bsiegert Exp $ # # Variable definitions for the Linux operating system. @@ -83,6 +83,11 @@ _OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /u .endif _OPSYS_INCLUDE_DIRS?= /usr/include +.if !empty(OS_VARIANT:Mchromeos) +_OPSYS_LIB_DIRS+= /usr/local/lib +_OPSYS_INCLUDE_DIRS+= /usr/local/include +.endif + # These are libc builtins _OPSYS_PREFER.getopt?= native _OPSYS_PREFER.gettext?= native --_----------=_151129180786980--