diff options
author | Benda Xu <heroxbd@gentoo.org> | 2018-08-28 21:07:01 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2018-08-28 21:08:23 +0800 |
commit | 74f62a4b59e09b7c44cb1d76ac0fd106ed28ef13 (patch) | |
tree | 56d20307f0414fb7d9d69465c8a6a154864640b8 /profiles/features/prefix | |
parent | app-i18n/ibus: new upstream release (diff) | |
download | gentoo-74f62a4b59e09b7c44cb1d76ac0fd106ed28ef13.tar.gz gentoo-74f62a4b59e09b7c44cb1d76ac0fd106ed28ef13.tar.bz2 gentoo-74f62a4b59e09b7c44cb1d76ac0fd106ed28ef13.zip |
p/f/p/s/kernel-2.6.16+/profile.bashrc: no dup3 or pipe2 for ocaml.
They are not defined by kernel-2.6.16.
Diffstat (limited to 'profiles/features/prefix')
-rw-r--r-- | profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc index 2a5055542390..eeba17808ece 100644 --- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc +++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc @@ -8,9 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die einfo "Removing utimensat calls..." sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i ${S}/qmake/library/ioutils.cpp || die -elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == compile ]]; then - einfo "Removing dup3 definitions..." - sed -e '/define.*HAS_DUP3/d' -i ${S}/config/s.h || die +elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure ]]; then + einfo "Removing dup3 and pipe2 definitions..." + sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i ${S}/configure || die fi # Local Variables: |