radhermit    14/12/23 08:25:35

  Modified:             ChangeLog gvim-9999.ebuild
  Log:
  Use array for configure options.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
4AB3E85B4F064CA3)

Revision  Changes    Path
1.448                app-editors/gvim/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gvim/ChangeLog?rev=1.448&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gvim/ChangeLog?rev=1.448&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gvim/ChangeLog?r1=1.447&r2=1.448

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/gvim/ChangeLog,v
retrieving revision 1.447
retrieving revision 1.448
diff -u -r1.447 -r1.448
--- ChangeLog   14 Dec 2014 10:58:01 -0000      1.447
+++ ChangeLog   23 Dec 2014 08:25:35 -0000      1.448
@@ -1,6 +1,9 @@
 # ChangeLog for app-editors/gvim
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/ChangeLog,v 1.447 
2014/12/14 10:58:01 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/ChangeLog,v 1.448 
2014/12/23 08:25:35 radhermit Exp $
+
+  23 Dec 2014; Tim Harder <[email protected]> gvim-9999.ebuild:
+  Use array for configure options.
 
   14 Dec 2014; Andreas K. Huettel <[email protected]> gvim-7.4.273.ebuild,
   gvim-7.4.488.ebuild, gvim-7.4.527.ebuild, gvim-7.4.542.ebuild,



1.22                 app-editors/gvim/gvim-9999.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gvim/gvim-9999.ebuild?rev=1.22&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gvim/gvim-9999.ebuild?rev=1.22&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gvim/gvim-9999.ebuild?r1=1.21&r2=1.22

Index: gvim-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-9999.ebuild,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- gvim-9999.ebuild    14 Dec 2014 10:58:01 -0000      1.21
+++ gvim-9999.ebuild    23 Dec 2014 08:25:35 -0000      1.22
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-9999.ebuild,v 1.21 
2014/12/14 10:58:01 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-9999.ebuild,v 1.22 
2014/12/23 08:25:35 radhermit Exp $
 
 EAPI=5
 VIM_VERSION="7.4"
@@ -151,7 +151,7 @@
 }
 
 src_configure() {
-       local myconf
+       local myconf=()
 
        # Fix bug 37354: Disallow -funroll-all-loops on amd64
        # Bug 57859 suggests that we want to do this for all archs
@@ -179,30 +179,37 @@
 
        use debug && append-flags "-DDEBUG"
 
-       myconf="--with-features=huge --disable-gpm --enable-multibyte"
-       myconf+=" $(use_enable acl)"
-       myconf+=" $(use_enable cscope)"
-       myconf+=" $(use_enable lua luainterp)"
-       myconf+=" $(use_with luajit)"
-       myconf+=" $(use_enable netbeans)"
-       myconf+=" $(use_enable nls)"
-       myconf+=" $(use_enable perl perlinterp)"
-       myconf+=" $(use_enable racket mzschemeinterp)"
-       myconf+=" $(use_enable ruby rubyinterp)"
-       myconf+=" $(use_enable selinux)"
-       myconf+=" $(use_enable session xsmp)"
-       myconf+=" $(use_enable tcl tclinterp)"
+       myconf=(
+               --with-features=huge
+               --disable-gpm
+               --enable-multibyte
+               $(use_enable acl)
+               $(use_enable cscope)
+               $(use_enable lua luainterp)
+               $(use_with luajit)
+               $(use_enable netbeans)
+               $(use_enable nls)
+               $(use_enable perl perlinterp)
+               $(use_enable racket mzschemeinterp)
+               $(use_enable ruby rubyinterp)
+               $(use_enable selinux)
+               $(use_enable session xsmp)
+               $(use_enable tcl tclinterp)
+       )
 
        if use python ; then
                if [[ ${EPYTHON} == python3* ]] ; then
-                       myconf+=" --enable-python3interp"
+                       myconf+=( --enable-python3interp )
                        export vi_cv_path_python3="${PYTHON}"
                else
-                       myconf+=" --enable-pythoninterp"
+                       myconf+=( --enable-pythoninterp )
                        export vi_cv_path_python="${PYTHON}"
                fi
        else
-               myconf+=" --disable-pythoninterp --disable-python3interp"
+               myconf+=(
+                       --disable-pythoninterp
+                       --disable-python3interp
+               )
        fi
 
        # --with-features=huge forces on cscope even if we --disable it. We need
@@ -222,25 +229,28 @@
        echo ; echo
        if use aqua ; then
                einfo "Building gvim with the Carbon GUI"
-               myconf+=" --enable-darwin --enable-gui=carbon"
+               myconf+=(
+                       --enable-darwin
+                       --enable-gui=carbon
+               )
        elif use gtk ; then
-               myconf+=" --enable-gtk2-check"
+               myconf+=( --enable-gtk2-check )
                if use gnome ; then
                        einfo "Building gvim with the Gnome 2 GUI"
-                       myconf+=" --enable-gui=gnome2"
+                       myconf+=( --enable-gui=gnome2 )
                else
                        einfo "Building gvim with the gtk+-2 GUI"
-                       myconf+=" --enable-gui=gtk2"
+                       myconf+=( --enable-gui=gtk2 )
                fi
        elif use motif ; then
                einfo "Building gvim with the MOTIF GUI"
-               myconf+=" --enable-gui=motif"
+               myconf+=( --enable-gui=motif )
        elif use neXt ; then
                einfo "Building gvim with the neXtaw GUI"
-               myconf+=" --enable-gui=nextaw"
+               myconf+=( --enable-gui=nextaw )
        else
                einfo "Building gvim with the Athena GUI"
-               myconf+=" --enable-gui=athena"
+               myconf+=( --enable-gui=athena )
        fi
        echo ; echo
 
@@ -248,7 +258,7 @@
        export ac_cv_prog_STRIP="$(type -P true ) faking strip"
 
        # Keep Gentoo Prefix env contained within the EPREFIX
-       use prefix && myconf+=" --without-local-dir"
+       use prefix && myconf+=( --without-local-dir )
 
        if [[ ${CHOST} == *-interix* ]]; then
                # avoid finding of this function, to avoid having to patch 
either
@@ -259,8 +269,9 @@
 
        econf \
                --with-modified-by=Gentoo-${PVR} \
-               --with-vim-name=gvim --with-x \
-               ${myconf}
+               --with-vim-name=gvim \
+               --with-x \
+               "${myconf[@]}"
 }
 
 src_compile() {




Reply via email to