summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/vim-qt/vim-qt-9999.ebuild')
-rw-r--r--app-editors/vim-qt/vim-qt-9999.ebuild36
1 files changed, 18 insertions, 18 deletions
diff --git a/app-editors/vim-qt/vim-qt-9999.ebuild b/app-editors/vim-qt/vim-qt-9999.ebuild
index 56e5b6f..c4a5291 100644
--- a/app-editors/vim-qt/vim-qt-9999.ebuild
+++ b/app-editors/vim-qt/vim-qt-9999.ebuild
@@ -20,40 +20,40 @@ DEPEND="
>=app-admin/eselect-vi-1.1
>=sys-apps/sed-4
sys-devel/autoconf
- >=sys-libs/ncurses-5.2-r2
+ >=sys-libs/ncurses-5.2-r2
gpm? ( >=sys-libs/gpm-1.19.3 )
nls? ( virtual/libintl )
cscope? ( dev-util/cscope )
perl? ( dev-lang/perl )
acl? ( kernel_linux? ( sys-apps/acl ) )
ruby? ( =dev-lang/ruby-1.8* )
- !<app-vim/align-30-r1
- !<app-vim/vimbuddy-0.9.1-r1
- !<app-vim/autoalign-11
- !<app-vim/supertab-0.41
+ !<app-vim/align-30-r1
+ !<app-vim/vimbuddy-0.9.1-r1
+ !<app-vim/autoalign-11
+ !<app-vim/supertab-0.41
>=x11-libs/qt-core-4.7.0:4
>=x11-libs/qt-gui-4.7.0:4"
RDEPEND="${DEPEND}"
src_configure() {
local myconf
-
+
use debug && append-flags "-DDEBUG"
-
+
myconf="--with-features=huge \
--enable-multibyte"
- myconf="${myconf} `use_enable gpm`"
- myconf="${myconf} `use_enable perl perlinterp`"
- myconf="${myconf} `use_enable python pythoninterp`"
- myconf="${myconf} `use_enable ruby rubyinterp`"
- myconf="${myconf} `use_enable nls`"
- myconf="${myconf} `use_enable acl`"
- myconf="${myconf} --enable-gui=qt --with-vim-name=qvim --with-x"
-
+ myconf+="$(use_enable gpm)"
+ myconf+="$(use_enable perl perlinterp)"
+ myconf+="$(use_enable python pythoninterp)"
+ myconf+="$(use_enable ruby rubyinterp)"
+ myconf+="$(use_enable nls)"
+ myconf+="$(use_enable acl)"
+ myconf+="--enable-gui=qt --with-vim-name=qvim --with-x"
+
if ! use cscope ; then
- sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || \
- die "couldn't disable cscope"
- fi
+ sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || \
+ die "couldn't disable cscope"
+ fi
econf ${myconf} || die "vim-qt configure failed"
}