sys-libs/ncurses: more || die, dohtml -> dodoc
authorMikle Kolyada <zlogene@gentoo.org>
Thu, 17 May 2018 08:49:01 +0000 (11:49 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Thu, 17 May 2018 08:49:13 +0000 (11:49 +0300)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

sys-libs/ncurses/ncurses-6.1-r2.ebuild

index 4a58bd1d79bb97bd3e51e3f2b4c683f28dba68f9..cba17fff6d1ce0b9ea3ca7aaa253139d4b819c6e 100644 (file)
@@ -102,7 +102,7 @@ do_configure() {
        local target=$1
        shift
 
-       mkdir "${BUILD_DIR}/${target}"
+       mkdir "${BUILD_DIR}/${target}" || die
        cd "${BUILD_DIR}/${target}" || die
 
        local conf=(
@@ -219,7 +219,7 @@ do_compile() {
        # compiled libraries which depends on sources which ...
        # Manually delete the pc-files file so the install step will
        # create the .pc files we want.
-       rm -f misc/pc-files
+       rm -f misc/pc-files || die
        emake "$@"
 }
 
@@ -276,11 +276,11 @@ multilib_src_install_all() {
        # Because ncurses5-config --terminfo returns the directory we keep it
        keepdir /usr/share/terminfo #245374
 
-       cd "${S}"
+       cd "${S}" || die
        dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
        if use doc ; then
                docinto html
-               dohtml -r doc/html/
+               dodoc -r doc/html/
        fi
 }