sys-devel/llvm: Bump the live ebuild to EAPI 6
authorMichał Górny <mgorny@gentoo.org>
Wed, 17 Feb 2016 21:59:09 +0000 (22:59 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 17 Feb 2016 22:05:54 +0000 (23:05 +0100)
sys-devel/llvm/llvm-9999.ebuild

index 97ed7fdc8b552743dd6f1700a987892529894d43..14c5da5d4dec2c2a43f86fd09c0f15792e243103 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 : ${CMAKE_MAKEFILE_GENERATOR:=ninja}
 PYTHON_COMPAT=( python2_7 )
@@ -142,45 +142,45 @@ src_prepare() {
        # Make ocaml warnings non-fatal, bug #537308
        sed -e "/RUN/s/-warn-error A//" -i test/Bindings/OCaml/*ml  || die
        # Fix libdir for ocaml bindings install, bug #559134
-       epatch "${FILESDIR}"/cmake/${PN}-3.7.0-ocaml-multilib.patch
+       eapply "${FILESDIR}"/cmake/${PN}-3.7.0-ocaml-multilib.patch
        # Do not build/install ocaml docs with USE=-doc, bug #562008
-       epatch "${FILESDIR}"/cmake/${PN}-3.7.0-ocaml-build_doc.patch
+       eapply "${FILESDIR}"/cmake/${PN}-3.7.0-ocaml-build_doc.patch
 
        # Make it possible to override Sphinx HTML install dirs
        # https://llvm.org/bugs/show_bug.cgi?id=23780
-       epatch "${FILESDIR}"/cmake/0002-cmake-Support-overriding-Sphinx-HTML-doc-install-dir.patch
+       eapply "${FILESDIR}"/cmake/0002-cmake-Support-overriding-Sphinx-HTML-doc-install-dir.patch
 
        # Prevent race conditions with parallel Sphinx runs
        # https://llvm.org/bugs/show_bug.cgi?id=23781
-       epatch "${FILESDIR}"/cmake/0003-cmake-Add-an-ordering-dep-between-HTML-man-Sphinx-ta.patch
+       eapply "${FILESDIR}"/cmake/0003-cmake-Add-an-ordering-dep-between-HTML-man-Sphinx-ta.patch
 
        # Prevent installing libgtest
        # https://llvm.org/bugs/show_bug.cgi?id=18341
-       epatch "${FILESDIR}"/cmake/0004-cmake-Do-not-install-libgtest.patch
+       eapply "${FILESDIR}"/cmake/0004-cmake-Do-not-install-libgtest.patch
 
        # Allow custom cmake build types (like 'Gentoo')
-       epatch "${FILESDIR}"/cmake/${PN}-3.8-allow_custom_cmake_build_types.patch
+       eapply "${FILESDIR}"/cmake/${PN}-3.8-allow_custom_cmake_build_types.patch
 
        # Fix llvm-config for shared linking and sane flags
        # https://bugs.gentoo.org/show_bug.cgi?id=565358
-       epatch "${FILESDIR}"/llvm-3.9-llvm-config.patch
+       eapply "${FILESDIR}"/llvm-3.9-llvm-config.patch
 
        # disable use of SDK on OSX, bug #568758
        sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die
 
        if use clang; then
                # Automatically select active system GCC's libraries, bugs #406163 and #417913
-               epatch "${FILESDIR}"/clang-3.5-gentoo-runtime-gcc-detection-v3.patch
+               eapply "${FILESDIR}"/clang-3.5-gentoo-runtime-gcc-detection-v3.patch
 
                # Install clang runtime into /usr/lib/clang
                # https://llvm.org/bugs/show_bug.cgi?id=23792
-               epatch "${FILESDIR}"/cmake/clang-0001-Install-clang-runtime-into-usr-lib-without-suffix-3.8.patch
-               epatch "${FILESDIR}"/cmake/compiler-rt-0001-cmake-Install-compiler-rt-into-usr-lib-without-suffi.patch
+               eapply "${FILESDIR}"/cmake/clang-0001-Install-clang-runtime-into-usr-lib-without-suffix-3.8.patch
+               eapply "${FILESDIR}"/cmake/compiler-rt-0001-cmake-Install-compiler-rt-into-usr-lib-without-suffi.patch
 
                # Make it possible to override CLANG_LIBDIR_SUFFIX
                # (that is used only to find LLVMgold.so)
                # https://llvm.org/bugs/show_bug.cgi?id=23793
-               epatch "${FILESDIR}"/cmake/clang-0002-cmake-Make-CLANG_LIBDIR_SUFFIX-overridable.patch
+               eapply "${FILESDIR}"/cmake/clang-0002-cmake-Make-CLANG_LIBDIR_SUFFIX-overridable.patch
 
                # Fix WX sections, bug #421527
                find "${S}"/projects/compiler-rt/lib/builtins -type f -name \*.S -exec sed \
@@ -196,7 +196,7 @@ src_prepare() {
        fi
 
        # User patches
-       epatch_user
+       eapply_user
 
        python_setup