1 |
fuzzyray 08/05/02 04:34:56 |
2 |
|
3 |
Modified: ChangeLog porthole-0.6.0_rc2.ebuild |
4 |
Log: |
5 |
Fix pocompile.sh to use /bin/bash. Add die statement in case it fails. |
6 |
(Portage version: 2.1.5_rc6) |
7 |
|
8 |
Revision Changes Path |
9 |
1.31 app-portage/porthole/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/ChangeLog?rev=1.31&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/ChangeLog?rev=1.31&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/ChangeLog?r1=1.30&r2=1.31 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/app-portage/porthole/ChangeLog,v |
18 |
retrieving revision 1.30 |
19 |
retrieving revision 1.31 |
20 |
diff -u -r1.30 -r1.31 |
21 |
--- ChangeLog 1 May 2008 20:19:41 -0000 1.30 |
22 |
+++ ChangeLog 2 May 2008 04:34:55 -0000 1.31 |
23 |
@@ -1,6 +1,12 @@ |
24 |
# ChangeLog for app-portage/porthole |
25 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/ChangeLog,v 1.30 2008/05/01 20:19:41 fuzzyray Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/ChangeLog,v 1.31 2008/05/02 04:34:55 fuzzyray Exp $ |
28 |
+ |
29 |
+ 02 May 2008; Paul Varner <fuzzyray@g.o> |
30 |
+ +files/porthole-0.6.0_rc2-pocompile.patch, porthole-0.6.0_rc2.ebuild: |
31 |
+ Add die statement to pocompile.sh, in case it fails. Added patch to change |
32 |
+ the shebang line from /bin/sh to /bin/bash for pocompile.sh, since it was |
33 |
+ not a POSIX compliant shell script. |
34 |
|
35 |
*porthole-0.6.0_rc2 (01 May 2008) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.2 app-portage/porthole/porthole-0.6.0_rc2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/porthole-0.6.0_rc2.ebuild?rev=1.2&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/porthole-0.6.0_rc2.ebuild?rev=1.2&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/porthole/porthole-0.6.0_rc2.ebuild?r1=1.1&r2=1.2 |
45 |
|
46 |
Index: porthole-0.6.0_rc2.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/app-portage/porthole/porthole-0.6.0_rc2.ebuild,v |
49 |
retrieving revision 1.1 |
50 |
retrieving revision 1.2 |
51 |
diff -u -r1.1 -r1.2 |
52 |
--- porthole-0.6.0_rc2.ebuild 1 May 2008 20:19:41 -0000 1.1 |
53 |
+++ porthole-0.6.0_rc2.ebuild 2 May 2008 04:34:55 -0000 1.2 |
54 |
@@ -1,8 +1,8 @@ |
55 |
# Copyright 1999-2008 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/porthole-0.6.0_rc2.ebuild,v 1.1 2008/05/01 20:19:41 fuzzyray Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/app-portage/porthole/porthole-0.6.0_rc2.ebuild,v 1.2 2008/05/02 04:34:55 fuzzyray Exp $ |
59 |
|
60 |
-inherit distutils |
61 |
+inherit eutils distutils |
62 |
|
63 |
DESCRIPTION="A GTK+-based frontend to Portage" |
64 |
HOMEPAGE="http://porthole.sourceforge.net" |
65 |
@@ -23,6 +23,13 @@ |
66 |
DEPEND="${RDEPEND} |
67 |
nls? ( >=sys-devel/gettext-0.14 )" |
68 |
|
69 |
+src_unpack() { |
70 |
+ # Change shebang line to /bin/bash since pocompile.sh is not a posix script |
71 |
+ unpack ${A} |
72 |
+ cd "${S}" |
73 |
+ epatch "${FILESDIR}"/${PF}-pocompile.patch |
74 |
+} |
75 |
+ |
76 |
src_install() { |
77 |
distutils_src_install |
78 |
chmod -R a+rX "${D}"/usr/share/porthole |
79 |
@@ -34,7 +41,7 @@ |
80 |
# Compile localizations if necessary |
81 |
if use nls ; then |
82 |
cd "${D}"/usr/share/porthole |
83 |
- ./pocompile.sh |
84 |
+ ./pocompile.sh || die "pocompile.sh failed" |
85 |
fi |
86 |
} |
87 |
|
88 |
|
89 |
|
90 |
|
91 |
-- |
92 |
gentoo-commits@l.g.o mailing list |