diff options
author | Benda Xu <heroxbd@gentoo.org> | 2017-06-05 15:22:28 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2017-06-05 15:23:51 +0900 |
commit | c05b73f6161db1778532f3f1e529fa73aaaf0b1a (patch) | |
tree | f102fb3b2cc36f760e21cb3a2d410f4d7ba46d84 /profiles/features | |
parent | dev-ruby/nokogiri: add 1.8.0 (diff) | |
download | gentoo-c05b73f6161db1778532f3f1e529fa73aaaf0b1a.tar.gz gentoo-c05b73f6161db1778532f3f1e529fa73aaaf0b1a.tar.bz2 gentoo-c05b73f6161db1778532f3f1e529fa73aaaf0b1a.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.
Diffstat (limited to 'profiles/features')
-rw-r--r-- | profiles/features/prefix/standalone/legacy/profile.bashrc | 6 |
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 |