radhermit    14/12/23 08:20:28

  Modified:             vim-9999.ebuild ChangeLog
  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.19                 app-editors/vim/vim-9999.ebuild

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

Index: vim-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/vim/vim-9999.ebuild,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- vim-9999.ebuild     13 Dec 2014 20:40:13 -0000      1.18
+++ vim-9999.ebuild     23 Dec 2014 08:20:28 -0000      1.19
@@ -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/vim/vim-9999.ebuild,v 1.18 
2014/12/13 20:40:13 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-9999.ebuild,v 1.19 
2014/12/23 08:20:28 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
@@ -178,47 +178,55 @@
        done
 
        if use minimal ; then
-               myconf="--with-features=tiny \
-                       --disable-nls \
-                       --disable-multibyte \
-                       --disable-acl \
-                       --enable-gui=no \
-                       --without-x \
-                       --disable-darwin \
-                       --disable-luainterp \
-                       --disable-perlinterp \
-                       --disable-pythoninterp \
-                       --disable-mzschemeinterp \
-                       --disable-rubyinterp \
-                       --disable-selinux \
-                       --disable-tclinterp \
-                       --disable-gpm"
+               myconf=(
+                       --with-features=tiny
+                       --disable-nls
+                       --disable-multibyte
+                       --disable-acl
+                       --enable-gui=no
+                       --without-x
+                       --disable-darwin
+                       --disable-luainterp
+                       --disable-perlinterp
+                       --disable-pythoninterp
+                       --disable-mzschemeinterp
+                       --disable-rubyinterp
+                       --disable-selinux
+                       --disable-tclinterp
+                       --disable-gpm
+               )
        else
                use debug && append-flags "-DDEBUG"
 
-               myconf="--with-features=huge --enable-multibyte"
-               myconf+=" $(use_enable acl)"
-               myconf+=" $(use_enable cscope)"
-               myconf+=" $(use_enable gpm)"
-               myconf+=" $(use_enable lua luainterp)"
-               myconf+=" $(use_with luajit)"
-               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 tcl tclinterp)"
+               myconf=(
+                       --with-features=huge
+                       --enable-multibyte
+                       $(use_enable acl)
+                       $(use_enable cscope)
+                       $(use_enable gpm)
+                       $(use_enable lua luainterp)
+                       $(use_with luajit)
+                       $(use_enable nls)
+                       $(use_enable perl perlinterp)
+                       $(use_enable racket mzschemeinterp)
+                       $(use_enable ruby rubyinterp)
+                       $(use_enable selinux)
+                       $(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
@@ -230,18 +238,22 @@
 
                # don't test USE=X here ... see bug #19115
                # but need to provide a way to link against X ... see bug #20093
-               myconf+=" --enable-gui=no --disable-darwin $(use_with X x)"
+               myconf+=(
+                       --enable-gui=no
+                       --disable-darwin
+                       $(use_with X x)
+               )
        fi
 
        # Let Portage do the stripping. Some people like that.
        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 )
 
        econf \
                --with-modified-by=Gentoo-${PVR} \
-               ${myconf}
+               "${myconf[@]}"
 }
 
 src_compile() {



1.481                app-editors/vim/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/vim/ChangeLog,v
retrieving revision 1.480
retrieving revision 1.481
diff -u -r1.480 -r1.481
--- ChangeLog   13 Dec 2014 20:40:13 -0000      1.480
+++ ChangeLog   23 Dec 2014 08:20:28 -0000      1.481
@@ -1,6 +1,9 @@
 # ChangeLog for app-editors/vim
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/ChangeLog,v 1.480 
2014/12/13 20:40:13 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/ChangeLog,v 1.481 
2014/12/23 08:20:28 radhermit Exp $
+
+  23 Dec 2014; Tim Harder <radher...@gentoo.org> vim-9999.ebuild:
+  Use array for configure options.
 
   13 Dec 2014; Andreas K. Huettel <dilfri...@gentoo.org> vim-7.4.273.ebuild,
   vim-7.4.488.ebuild, vim-7.4.527.ebuild, vim-7.4.542.ebuild, vim-9999.ebuild:




Reply via email to