summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-06-23 00:10:01 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-06-23 00:10:01 +0000
commitd8cb039f556c6201aaa097fe63b4b2fa1e07c41c (patch)
treec059dbe27ad72c6c6192c7bd74d9e6fc969cc97b /sci-mathematics
parent2.0 stable x86 and fixed src_uri (diff)
downloadgentoo-2-d8cb039f556c6201aaa097fe63b4b2fa1e07c41c.tar.gz
gentoo-2-d8cb039f556c6201aaa097fe63b4b2fa1e07c41c.tar.bz2
gentoo-2-d8cb039f556c6201aaa097fe63b4b2fa1e07c41c.zip
Fixed references to the WORKDIR in installed files (bug #95429).
(Portage version: 2.0.51.19)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/scilab/ChangeLog5
-rw-r--r--sci-mathematics/scilab/Manifest2
-rw-r--r--sci-mathematics/scilab/scilab-3.1.1.ebuild23
3 files changed, 23 insertions, 7 deletions
diff --git a/sci-mathematics/scilab/ChangeLog b/sci-mathematics/scilab/ChangeLog
index 8fcc7672f73e..6f56bc3dd972 100644
--- a/sci-mathematics/scilab/ChangeLog
+++ b/sci-mathematics/scilab/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-mathematics/scilab
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/ChangeLog,v 1.7 2005/06/21 00:32:56 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/ChangeLog,v 1.8 2005/06/23 00:10:01 ribosome Exp $
+
+ 23 Jun 2005; Olivier Fisette <ribosome@gentoo.org> scilab-3.1.1.ebuild:
+ Fixed references to the WORKDIR in installed files (bug #95429).
21 Jun 2005; Olivier Fisette <ribosome@gentoo.org> scilab-3.1.1.ebuild:
Add ocaml support.
diff --git a/sci-mathematics/scilab/Manifest b/sci-mathematics/scilab/Manifest
index 2fcf93f4e09b..06859fd5b27e 100644
--- a/sci-mathematics/scilab/Manifest
+++ b/sci-mathematics/scilab/Manifest
@@ -1,7 +1,7 @@
MD5 921dc326fe60a36eb4c95b7ffa9bb9eb scilab-3.0-r1.ebuild 5305
MD5 b0d45776d59954c103ba72a5da53dbe6 scilab-3.0.ebuild 5075
MD5 693bb0bca5adf98abe428a3ca435d095 scilab-2.7-r3.ebuild 4028
-MD5 5ceb221a61d179a481381ef5987d131e scilab-3.1.1.ebuild 5402
+MD5 963f8c492c8515f278beba484dcc100b scilab-3.1.1.ebuild 5789
MD5 9e28db13cbdb6d6cd8d6c8d40d250022 ChangeLog 4919
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
MD5 814dd511c89a14982a5d6c60b09c1709 files/scilab-2.7-configure.patch 1702
diff --git a/sci-mathematics/scilab/scilab-3.1.1.ebuild b/sci-mathematics/scilab/scilab-3.1.1.ebuild
index 61031e451a28..36ec0571dd4b 100644
--- a/sci-mathematics/scilab/scilab-3.1.1.ebuild
+++ b/sci-mathematics/scilab/scilab-3.1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/scilab-3.1.1.ebuild,v 1.3 2005/06/21 00:35:32 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/scilab/scilab-3.1.1.ebuild,v 1.4 2005/06/23 00:10:01 ribosome Exp $
inherit eutils
@@ -176,10 +176,23 @@ src_install() {
dosym /usr/lib/${P}/bin/intersci-n /usr/bin/intersci-n
# The compile and install process causes the work folder to be registered
- # as the runtime folder in the launch script. This is corrected here.
- BAD_LINE=SCI\=\"${WORKDIR}/${P}\"
- FIXED_LINE=SCI\=\"/usr/lib/${P}\"
- sed -i -e "s#${BAD_LINE}#${FIXED_LINE}#" ${D}/usr/lib/${P}/bin/scilab
+ # as the runtime folder in many files. This is corrected here.
+ BAD_REF="${WORKDIR}/${P}"
+ FIXED_REF="/usr/lib/${P}"
+ BIN_TO_FIX="Blpr BEpsf Blatexpr2 Blatexprs Blatexpr scilab"
+ for i in ${BIN_TO_FIX}; do
+ sed -e "s%${BAD_REF}%${FIXED_REF}%" -i ${D}/usr/lib/${P}/bin/${i} || die
+ done
+ MAN_TO_FIX="eng fr"
+ for i in ${MAN_TO_FIX}; do
+ for j in ${D}/usr/lib/${P}/man/${i}/*.h*; do
+ sed -e "s%${BAD_REF}%${FIXED_REF}%" -i ${j} || die
+ done
+ done
+ MISC_TO_FIX="util/Blatdoc util/Blatdocs"
+ for i in ${MISC_TO_FIX}; do
+ sed -e "s%${BAD_REF}%${FIXED_REF}%" -i ${D}/usr/lib/${P}/${i} || die
+ done
}
pkg_postinst() {