commit:     c05b73f6161db1778532f3f1e529fa73aaaf0b1a
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  5 06:22:28 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Jun  5 06:23:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05b73f6

profiles/f/p/s/legacy/profile.bashrc: disable utimensat syscall

  cmake based build system does not provide an interface to override
  compile checks, therefore this hack.

 profiles/features/prefix/standalone/legacy/profile.bashrc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/profiles/features/prefix/standalone/legacy/profile.bashrc 
b/profiles/features/prefix/standalone/legacy/profile.bashrc
new file mode 100644
index 00000000000..e537cc0fa31
--- /dev/null
+++ b/profiles/features/prefix/standalone/legacy/profile.bashrc
@@ -0,0 +1,6 @@
+# tricks to circumvent false positive checks of old kernel
+
+if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; 
then
+    einfo "Removing utimensat outputs..."
+    sed -i '/UTIMENSAT=/d' ${S}/Source/kwsys/CMakeLists.txt
+fi

Reply via email to