1 |
On Thu, May 23, 2013 at 2:31 PM, Mike Frysinger <vapier@g.o> wrote: |
2 |
|
3 |
> On Thursday 09 May 2013 12:59:11 Pacho Ramos wrote: |
4 |
> > El mié, 08-05-2013 a las 20:59 -0400, Mike Frysinger escribió: |
5 |
> > > On Wednesday 05 December 2012 18:02:51 Doug Goldstein wrote: |
6 |
> > > > - if grep -q "disable-scrollkeeper" configure; then |
7 |
> > > > + if grep -q "disable-scrollkeeper" ${ECONF_SOURCE:-.}/configure; |
8 |
> then |
9 |
> > > |
10 |
> > > ECONF_SOURCE should be quoted |
11 |
> > > -mike |
12 |
> > |
13 |
> > If it doesn't cause any problem (it shouldn't, I think), feel free to |
14 |
> > commit adding the quotes. Thanks for noticing! (will CC gnome team to |
15 |
> > keep them aware) |
16 |
> |
17 |
> Index: gnome2.eclass |
18 |
> =================================================================== |
19 |
> RCS file: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v |
20 |
> retrieving revision 1.120 |
21 |
> diff -u -p -r1.120 gnome2.eclass |
22 |
> --- gnome2.eclass 16 Jan 2013 23:01:02 -0000 1.120 |
23 |
> +++ gnome2.eclass 23 May 2013 19:31:00 -0000 |
24 |
> @@ -122,7 +122,7 @@ gnome2_src_configure() { |
25 |
> # Remember to drop 'doc' USE flag from your package if it was only |
26 |
> used to |
27 |
> # rebuild docs. |
28 |
> # Preserve old behavior for older EAPI. |
29 |
> - if grep -q "enable-gtk-doc" ${ECONF_SOURCE:-.}/configure ; then |
30 |
> + if grep -q "enable-gtk-doc" "${ECONF_SOURCE:-.}"/configure ; then |
31 |
> if has ${EAPI:-0} 0 1 2 3 4 && in_iuse doc ; then |
32 |
> G2CONF="$(use_enable doc gtk-doc) ${G2CONF}" |
33 |
> else |
34 |
> @@ -132,29 +132,29 @@ gnome2_src_configure() { |
35 |
> |
36 |
> # Pass --disable-maintainer-mode when needed |
37 |
> if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])" \ |
38 |
> - ${ECONF_SOURCE:-.}/configure.*; then |
39 |
> + "${ECONF_SOURCE:-.}"/configure.*; then |
40 |
> G2CONF="--disable-maintainer-mode ${G2CONF}" |
41 |
> fi |
42 |
> |
43 |
> # Pass --disable-scrollkeeper when possible |
44 |
> - if grep -q "disable-scrollkeeper" ${ECONF_SOURCE:-.}/configure; |
45 |
> then |
46 |
> + if grep -q "disable-scrollkeeper" "${ECONF_SOURCE:-.}"/configure; |
47 |
> then |
48 |
> G2CONF="--disable-scrollkeeper ${G2CONF}" |
49 |
> fi |
50 |
> |
51 |
> # Pass --disable-silent-rules when possible (not needed for |
52 |
> eapi5), bug |
53 |
> #429308 |
54 |
> if has ${EAPI:-0} 0 1 2 3 4; then |
55 |
> - if grep -q "disable-silent-rules" |
56 |
> ${ECONF_SOURCE:-.}/configure; then |
57 |
> + if grep -q "disable-silent-rules" |
58 |
> "${ECONF_SOURCE:-.}"/configure; then |
59 |
> G2CONF="--disable-silent-rules ${G2CONF}" |
60 |
> fi |
61 |
> fi |
62 |
> |
63 |
> # Pass --disable-schemas-install when possible |
64 |
> - if grep -q "disable-schemas-install" ${ECONF_SOURCE:-.}/configure; |
65 |
> then |
66 |
> + if grep -q "disable-schemas-install" |
67 |
> "${ECONF_SOURCE:-.}"/configure; then |
68 |
> G2CONF="--disable-schemas-install ${G2CONF}" |
69 |
> fi |
70 |
> |
71 |
> # Pass --disable-schemas-compile when possible |
72 |
> - if grep -q "disable-schemas-compile" ${ECONF_SOURCE:-.}/configure; |
73 |
> then |
74 |
> + if grep -q "disable-schemas-compile" |
75 |
> "${ECONF_SOURCE:-.}"/configure; then |
76 |
> G2CONF="--disable-schemas-compile ${G2CONF}" |
77 |
> fi |
78 |
> |
79 |
> -mike |
80 |
> |
81 |
|
82 |
I guess I forgot to commit that to the tree when I posted it a few days |
83 |
ago/week, w/e. Yeah commit that. My original commit was wrong. |
84 |
|
85 |
-- |
86 |
Doug Goldstein |