commit:     b82f37494912219ddc0cae6814b0b516b75b0a8f
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Aug 24 06:10:25 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Aug 24 06:15:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b82f3749

sys-cluster/portals4: ummunotify as optfeature

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild 
b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild
index 6bc3a1756..de0c95618 100644
--- a/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild
+++ b/sys-cluster/portals4/portals4-1.0_alpha1_p20190109-r2.ebuild
@@ -8,7 +8,7 @@ DOCS_BUILDER="doxygen"
 DOCS_CONFIG_NAME="doxygen.conf"
 DOCS_DIR="doc"
 
-inherit autotools docs
+inherit autotools docs optfeature
 
 DESCRIPTION="low-level network API for high-performance networking"
 HOMEPAGE="
@@ -112,3 +112,7 @@ src_install() {
        einstalldocs
        find "${D}" -name '*.la' -delete || die
 }
+
+pkg_postinst() {
+       optfeature "Required for correctness with the IB transport. Ensure that 
/dev/ummunotify is readable/writable by the user running the portals software." 
sys-kernel/ummunotify
+}

Reply via email to