sci-libs/dcmtk: Put || die where || die belongs
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 26 Aug 2018 15:59:42 +0000 (17:59 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 26 Aug 2018 18:23:49 +0000 (20:23 +0200)
Package-Manager: Portage-2.3.48, Repoman-2.3.10

sci-libs/dcmtk/dcmtk-3.6.0.ebuild

index 414724b2e234d4b0db23fb9bf033f973242992e4..1a94d20b50639ced855198b826360f5c82ba83b5 100644 (file)
@@ -55,7 +55,7 @@ src_prepare() {
        # fix -D deprecation warnings
        sed -i -e "s|_BSD_SOURCE|_DEFAULT_SOURCE|g" \
                "${S}"/config/configure.in \
-               "${S}"/CMakeLists.txt
+               "${S}"/CMakeLists.txt || die
 }
 
 src_configure() {
@@ -74,7 +74,7 @@ src_configure() {
        cmake-utils_src_configure
 
        if use doc; then
-               cd "${S}"/doxygen
+               cd "${S}"/doxygen || die
                econf
        fi
 }
@@ -83,16 +83,16 @@ src_compile() {
        cmake-utils_src_compile
 
        if use doc; then
-               emake -C "${S}"/doxygen || die
+               emake -C "${S}"/doxygen
        fi
 }
 
 src_install() {
        cmake-utils_src_install
 
-       doman doxygen/manpages/man1/* || die
+       doman doxygen/manpages/man1/*
 
        if use doc; then
-               dohtml -r "${S}"/doxygen/htmldocs/* || die
+               dohtml -r "${S}"/doxygen/htmldocs/*
        fi
 }