diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2017-12-03 19:49:03 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2017-12-03 19:49:03 +0000 |
commit | bbeb501e31700b71caa252aaf0322bae502643fc (patch) | |
tree | ac264a1d6319735de61d3ac5b462e81d323bcd29 /editors | |
parent | caa6fab612a3aac67bacc0176e88ef59edacac42 (diff) | |
download | pkgsrc-bbeb501e31700b71caa252aaf0322bae502643fc.tar.gz |
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 (limited to 'editors')
-rw-r--r-- | editors/vim-share/Makefile.common | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/vim-share/Makefile.common b/editors/vim-share/Makefile.common index c29e9ab50c8..eb7bf801c4c 100644 --- a/editors/vim-share/Makefile.common +++ b/editors/vim-share/Makefile.common @@ -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+= ${VIM_EXTRA_OPTS} 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 \ |