pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/vim-share Disable selinux on ChromeOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4678443de2c7
branches: trunk
changeset: 372351:4678443de2c7
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sun Dec 03 19:49:03 2017 +0000
description:
Disable selinux on ChromeOS.
ChromeOS userland has a libselinux but not the selinux.h header file. The
configure check passes but compilation later fails.
However, the resulting binary still does not run. It gets killed on
startup with "buffer overflow detected".
diffstat:
editors/vim-share/Makefile.common | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 3dc14be0e66d -r 4678443de2c7 editors/vim-share/Makefile.common
--- a/editors/vim-share/Makefile.common Sun Dec 03 17:53:43 2017 +0000
+++ b/editors/vim-share/Makefile.common Sun Dec 03 19:49:03 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.158 2017/07/09 23:58:24 wen Exp $
+# $NetBSD: Makefile.common,v 1.159 2017/12/03 19:49:03 bsiegert Exp $
# used by editors/vim/Makefile
# used by editors/vim-gtk2/Makefile
@@ -41,6 +41,11 @@
CONFIGURE_ARGS+= --enable-multibyte
CONFIGURE_ARGS+= --enable-cscope
+# has libselinux but not selinux.h
+.if "${OS_VARIANT}" == "chromeos"
+CONFIGURE_ARGS+= --disable-selinux
+.endif
+
PATCH_ARGS= -d ${WRKDIR}/${DISTNAME} --forward --quiet \
-E ${PATCH_STRIP:Q}
PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} --forward --quiet \
Home |
Main Index |
Thread Index |
Old Index