use --enable-rubyinterp=dynamic and --enable-pythoninterp=dynamic
This commit is contained in:
parent
acfd5fdb8c
commit
20a9c5ed58
16
vim.spec
16
vim.spec
@ -1596,7 +1596,9 @@ mv -f Makefile.tmp Makefile
|
|||||||
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
|
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
|
export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
|
||||||
|
|
||||||
%configure --with-features=huge --enable-pythoninterp --enable-perlinterp \
|
%configure --with-features=huge \
|
||||||
|
--enable-pythoninterp=dynamic \
|
||||||
|
--enable-perlinterp \
|
||||||
--disable-tclinterp --with-x=yes \
|
--disable-tclinterp --with-x=yes \
|
||||||
--enable-xim --enable-multibyte \
|
--enable-xim --enable-multibyte \
|
||||||
--with-tlib=ncurses \
|
--with-tlib=ncurses \
|
||||||
@ -1614,7 +1616,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_
|
|||||||
--disable-selinux \
|
--disable-selinux \
|
||||||
%endif
|
%endif
|
||||||
%if "%{withruby}" == "1"
|
%if "%{withruby}" == "1"
|
||||||
--enable-rubyinterp \
|
--enable-rubyinterp=dynamic \
|
||||||
%else
|
%else
|
||||||
--disable-rubyinterp \
|
--disable-rubyinterp \
|
||||||
%endif
|
%endif
|
||||||
@ -1623,8 +1625,11 @@ make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/%{vimdir} %{?_smp_mflags}
|
|||||||
cp vim gvim
|
cp vim gvim
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
%configure --prefix=%{_prefix} --with-features=huge --enable-pythoninterp \
|
%configure --prefix=%{_prefix} --with-features=huge \
|
||||||
--enable-perlinterp --disable-tclinterp --with-x=no \
|
--enable-pythoninterp=dynamic \
|
||||||
|
--enable-perlinterp \
|
||||||
|
--disable-tclinterp \
|
||||||
|
--with-x=no \
|
||||||
--enable-gui=no --exec-prefix=%{_prefix} --enable-multibyte \
|
--enable-gui=no --exec-prefix=%{_prefix} --enable-multibyte \
|
||||||
--enable-cscope --with-modified-by="<bugzilla@redhat.com>" \
|
--enable-cscope --with-modified-by="<bugzilla@redhat.com>" \
|
||||||
--with-tlib=ncurses \
|
--with-tlib=ncurses \
|
||||||
@ -1640,7 +1645,7 @@ make clean
|
|||||||
--disable-selinux \
|
--disable-selinux \
|
||||||
%endif
|
%endif
|
||||||
%if "%{withruby}" == "1"
|
%if "%{withruby}" == "1"
|
||||||
--enable-rubyinterp \
|
--enable-rubyinterp=dynamic \
|
||||||
%else
|
%else
|
||||||
--disable-rubyinterp \
|
--disable-rubyinterp \
|
||||||
%endif
|
%endif
|
||||||
@ -2025,6 +2030,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri Oct 05 2012 Karsten Hopp <karsten@redhat.com> 7.3.682-1
|
* Fri Oct 05 2012 Karsten Hopp <karsten@redhat.com> 7.3.682-1
|
||||||
- patchlevel 682
|
- patchlevel 682
|
||||||
|
- use --enable-rubyinterp=dynamic and --enable-pythoninterp=dynamic
|
||||||
|
|
||||||
* Tue Aug 28 2012 Karsten Hopp <karsten@redhat.com> 7.3.638-2
|
* Tue Aug 28 2012 Karsten Hopp <karsten@redhat.com> 7.3.638-2
|
||||||
- fix some man page typos (#668894, #675480)
|
- fix some man page typos (#668894, #675480)
|
||||||
|
Loading…
Reference in New Issue
Block a user