pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/vim-share



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sun Dec  3 19:49:03 UTC 2017

Modified Files:
        pkgsrc/editors/vim-share: Makefile.common

Log Message:
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".


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 pkgsrc/editors/vim-share/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/vim-share/Makefile.common
diff -u pkgsrc/editors/vim-share/Makefile.common:1.158 pkgsrc/editors/vim-share/Makefile.common:1.159
--- pkgsrc/editors/vim-share/Makefile.common:1.158      Sun Jul  9 23:58:24 2017
+++ pkgsrc/editors/vim-share/Makefile.common    Sun Dec  3 19:49:03 2017
@@ -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 \



Home | Main Index | Thread Index | Old Index