public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <ottxor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/giac/
Date: Sun,  8 Feb 2015 21:07:48 +0000 (UTC)	[thread overview]
Message-ID: <1423305995.7d34668536aa674a52943ee44e63baf1bb99eb1f.ottxor@gentoo> (raw)

commit:     7d34668536aa674a52943ee44e63baf1bb99eb1f
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Feb  7 10:39:33 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sat Feb  7 10:46:35 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7d346685

sci-mathematics/giac-1.1.0: Add missing, drop useless dies

---
 sci-mathematics/giac/giac-1.1.0.ebuild | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/sci-mathematics/giac/giac-1.1.0.ebuild b/sci-mathematics/giac/giac-1.1.0.ebuild
index f04fc2d..34d059c 100644
--- a/sci-mathematics/giac/giac-1.1.0.ebuild
+++ b/sci-mathematics/giac/giac-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -29,9 +29,9 @@ src_prepare(){
 		-e "s:config.h \$(includedir)/giac:config.h \$(DESTDIR)\$(includedir)/giac:g" \
 		-e "s:\$(DESTDIR)\$(DESTDIR):\$(DESTDIR):g"	\
 		-e "s:\$(DESTDIR)/\$(DESTDIR):\$(DESTDIR):g" \
-		-i `find -name Makefile\*`
+		-i `find -name Makefile\*` || die
 	if use !fltk; then
-		sed -e "s: gl2ps\.[chlo]*::g" -i src/Makefile.*
+		sed -e "s: gl2ps\.[chlo]*::g" -i src/Makefile.* || die
 	fi
 }
 
@@ -40,36 +40,36 @@ src_configure(){
 	then
 		append-cppflags -I$(fltk-config --includedir)
 		append-lfs-flags
-		append-libs $(fltk-config --ldflags | sed -e 's/\(-L\S*\)\s.*/\1/')
+		append-libs $(fltk-config --ldflags | sed -e 's/\(-L\S*\)\s.*/\1/') || die
 	fi
 	local myeconfargs=(
 		$(use_enable fltk gui)
 	)
-	autotools-utils_src_configure || die "configuring failed"
+	autotools-utils_src_configure
 }
 
 src_install() {
-	emake install DESTDIR="${D}" || die "emake install failed"
-	mv "${D}"/usr/bin/{aide,giac-help}
-	rm "${D}"/usr/bin/*cas_help
+	emake install DESTDIR="${D}"
+	mv "${D}"/usr/bin/{aide,giac-help} || die
+	rm "${D}"/usr/bin/*cas_help || die
 	dodoc AUTHORS ChangeLog INSTALL NEWS README TROUBLES
 	if use !fltk; then
-		rm "${D}"/usr/bin/x*
+		rm "${D}"/usr/bin/x* || die
 	elif host-is-pax; then
 		pax-mark -m "${D}"/usr/bin/x*
 	fi
 	if use !doc; then
-		rm -R "${D}"/usr/share/doc/giac "${D}"/usr/share/giac/doc/
+		rm -R "${D}"/usr/share/doc/giac "${D}"/usr/share/giac/doc/ || die
 	else
 		for LANG in el en es fr pt; do
 			if echo ${LINGUAS} | grep -v "$LANG" &> /dev/null; then
 				rm -R "${D}"/usr/share/giac/doc/"$LANG"
 			else
-				ln "${D}"/usr/share/giac/doc/aide_cas "${D}"/usr/share/giac/doc/"$LANG"/aide_cas
+				ln "${D}"/usr/share/giac/doc/aide_cas "${D}"/usr/share/giac/doc/"$LANG"/aide_cas || die
 			fi
 		done
 	fi
 	if use !examples; then
-		rm -R "${D}"/usr/share/giac/examples
+		rm -R "${D}"/usr/share/giac/examples || die
 	fi
 }


             reply	other threads:[~2015-02-08 21:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-08 21:07 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-28 19:11 [gentoo-commits] proj/sci:master commit in: sci-mathematics/giac/ Andrew Ammerlaan
2016-11-23  9:46 Marius Brehler
2014-09-16 17:01 Christoph Junghans
2014-09-02 21:19 Jauhien Piatlicki
2014-08-19 21:51 Christoph Junghans
2014-08-19 21:51 Christoph Junghans
2014-08-19 21:51 Christoph Junghans
2014-08-19 21:51 Christoph Junghans
2014-08-10  8:05 Justin Lecher
2014-08-10  8:05 Justin Lecher
2014-08-10  8:05 Justin Lecher
2014-08-10  8:05 Justin Lecher
2013-01-14 14:10 Jonathan-Christofer Demay
2012-02-06 14:35 Jonathan-Christofer Demay
2011-06-25 17:22 Justin Lecher
2011-05-16 10:33 Jonathan-Christofer Demay
2011-05-12  5:12 Jonathan-Christofer Demay
2011-05-12  3:18 Jonathan-Christofer Demay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1423305995.7d34668536aa674a52943ee44e63baf1bb99eb1f.ottxor@gentoo \
    --to=ottxor@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox