aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2015-05-21 17:48:52 +0300
committerAlexander Golubev <fatzer2@gmail.com>2015-05-21 17:48:52 +0300
commit48f5c85e860a9a58065f92007734674193fb67ae (patch)
treef4b92fb44c2e2b55c197864da537d67d9ad7ec1e /sci-libs/calculix-ccx
parentsci-libs/calculix-ccx-2.8_p2 version bump (diff)
downloadsci-48f5c85e860a9a58065f92007734674193fb67ae.tar.gz
sci-48f5c85e860a9a58065f92007734674193fb67ae.tar.bz2
sci-48f5c85e860a9a58065f92007734674193fb67ae.zip
sci-libs/calculix-ccx-2.8_p2: several small fixes
- Cleaned up the patch - Updated the copyright year - Added missing die's
Diffstat (limited to 'sci-libs/calculix-ccx')
-rw-r--r--sci-libs/calculix-ccx/calculix-ccx-2.8_p2.ebuild6
-rw-r--r--sci-libs/calculix-ccx/files/01_ccx_2.8p2_Makefile_custom_cc_flags_spooles_arpack.patch3
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 a4900d4e6..61feea216 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 c9edd9cd1..a47fdc6f1 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 @@