pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/platform



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.

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



Home | Main Index | Thread Index | Old Index