svn commit: r350519 - head/tools/build
Mark Johnston
markj at FreeBSD.org
Thu Aug 1 19:26:17 UTC 2019
Author: markj
Date: Thu Aug 1 19:26:16 2019
New Revision: 350519
URL: https://svnweb.freebsd.org/changeset/base/350519
Log:
Include caph_rights_limit() in libegacy if need be.
Reported by: jenkins
Sponsored by: The FreeBSD Foundation
Modified:
head/tools/build/Makefile
Modified: head/tools/build/Makefile
==============================================================================
--- head/tools/build/Makefile Thu Aug 1 19:01:27 2019 (r350518)
+++ head/tools/build/Makefile Thu Aug 1 19:26:16 2019 (r350519)
@@ -51,8 +51,9 @@ SRCS+= explicit_bzero.c
.if exists(/usr/include/capsicum_helpers.h)
_WITH_CAPH_ENTER!= grep -c caph_enter /usr/include/capsicum_helpers.h || true
+_WITH_CAPH_RIGHTS_LIMIT!= grep -c caph_rights_limit /usr/include/capsicum_helpers.h || true
.endif
-.if !defined(_WITH_CAPH_ENTER) || ${_WITH_CAPH_ENTER} == 0
+.if !defined(_WITH_CAPH_ENTER) || ${_WITH_CAPH_ENTER} == 0 || ${_WITH_CAPH_RIGHTS_LIMIT} == 0
.PATH: ${SRCTOP}/lib/libcapsicum
INCS+= capsicum_helpers.h
.PATH: ${SRCTOP}/lib/libcasper/libcasper
More information about the svn-src-all
mailing list