commit: 48f5c85e860a9a58065f92007734674193fb67ae
Author: Alexander Golubev <fatzer2 <AT> gmail <DOT> com>
AuthorDate: Thu May 21 14:48:52 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu May 21 14:48:52 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=48f5c85e
sci-libs/calculix-ccx-2.8_p2: several small fixes
- Cleaned up the patch
- Updated the copyright year
- Added missing die's
sci-libs/calculix-ccx/calculix-ccx-2.8_p2.ebuild | 6 +++---
.../01_ccx_2.8p2_Makefile_custom_cc_flags_spooles_arpack.patch | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/sci-libs/calculix-ccx/calculix-ccx-2.8_p2.ebuild
b/sci-libs/calculix-ccx/calculix-ccx-2.8_p2.ebuild
index a4900d4..61feea2 100644
--- a/sci-libs/calculix-ccx/calculix-ccx-2.8_p2.ebuild
+++ b/sci-libs/calculix-ccx/calculix-ccx-2.8_p2.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: $
@@ -58,8 +58,8 @@ src_install () {
dosym ${MY_P} /usr/bin/ccx
if use doc; then
- cd "${S}/../doc"
- ps2pdf ${MY_P}.ps ${MY_P}.pdf
+ cd "${S}/../doc" || die
+ ps2pdf ${MY_P}.ps ${MY_P}.pdf || die "ps2pdf failed"
dodoc ${MY_P}.pdf
fi
diff --git
a/sci-libs/calculix-ccx/files/01_ccx_2.8p2_Makefile_custom_cc_flags_spooles_arpack.patch
b/sci-libs/calculix-ccx/files/01_ccx_2.8p2_Makefile_custom_cc_flags_spooles_arpack.patch
index c9edd9c..a47fdc6 100644
---
a/sci-libs/calculix-ccx/files/01_ccx_2.8p2_Makefile_custom_cc_flags_spooles_arpack.patch
+++
b/sci-libs/calculix-ccx/files/01_ccx_2.8p2_Makefile_custom_cc_flags_spooles_arpack.patch
@@ -1,4 +1,5 @@
-diff -ru CalculiX.orig/ccx_2.8p2/src/Makefile CalculiX/ccx_2.8p2/src/Makefile
+Fix Makefile to make it use custom CFLAGS and system libraries.
+
--- CalculiX.orig/ccx_2.8p2/src/Makefile 2015-05-21 11:04:58.125111330
+0300
+++ CalculiX/ccx_2.8p2/src/Makefile 2015-05-21 11:08:26.848130631 +0300
@@ -1,9 +1,9 @@