summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2017-06-05 15:22:28 +0900
committerBenda Xu <heroxbd@gentoo.org>2017-06-05 15:23:51 +0900
commitc05b73f6161db1778532f3f1e529fa73aaaf0b1a (patch)
treef102fb3b2cc36f760e21cb3a2d410f4d7ba46d84
parentdev-ruby/nokogiri: add 1.8.0 (diff)
downloadgentoo-c05b73f6.tar.gz
gentoo-c05b73f6.tar.bz2
gentoo-c05b73f6.zip
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.
-rw-r--r--profiles/features/prefix/standalone/legacy/profile.bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/profiles/features/prefix/standalone/legacy/profile.bashrc b/profiles/features/prefix/standalone/legacy/profile.bashrc
new file mode 100644
index 000000000000..e537cc0fa319
--- /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