OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 07-Mar-2003 15:19:48 Branch: HEAD Handle: 2003030714194700 Modified files: openpkg-src/vim vim.spec Log: '--enable-max-features' seems to be deprecated added some other features to play with Summary: Revision Changes Path 1.179 +36 -3 openpkg-src/vim/vim.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/vim/vim.spec ============================================================================ $ cvs diff -u -r1.178 -r1.179 vim.spec --- openpkg-src/vim/vim.spec 4 Mar 2003 11:37:28 -0000 1.178 +++ openpkg-src/vim/vim.spec 7 Mar 2003 14:19:47 -0000 1.179 @@ -38,10 +38,14 @@ Group: Editor License: Charityware Version: %{V_vl}.%{V_pl} -Release: 20030304 +Release: 20030307 # package options -%option with_x11 no +%option with_x11 no +%option with_features normal +%option with_multibyte no +%option with_perl no +%option with_python no # list of sources Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{V_vl}-src1.tar.gz @@ -127,6 +131,14 @@ BuildPreReq: X11, gtk PreReq: X11, gtk %endif +%if "%{with_perl}" == "yes" +BuildPreReq: perl +PreReq: perl +%endif +%if "%{with_python}" == "yes" +BuildPreReq: python +PreReq: python +%endif AutoReq: no AutoReqProv: no @@ -164,7 +176,6 @@ LDFLAGS="%{l_ldflags}" \ ./configure \ --prefix=%{l_prefix} \ - --enable-max-features \ --with-tlib=termcap \ %if "%{with_x11}" == "yes" --with-x \ @@ -177,6 +188,28 @@ %else --without-x \ --disable-gui \ +%endif +%if "%{with_features}" == "huge" + --with-features=huge \ +%else +%if "%{with_features}" == "big" + --with-features=big \ +%else +%if "%{with_features}" == "small" + --with-features=small \ +%else + --with-features=normal \ +%endif +%endif +%endif +%if "%{with_multibyte}" == "yes" + --enable-multibyte \ +%endif +%if "%{with_perl}" == "yes" + --enable-perlinterp=%{l_prefix}/bin/perl \ +%endif +%if "%{with_python}" == "yes" + --enable-pythoninterp=%{l_prefix}/bin/python \ %endif --disable-nls %{l_make} %{l_mflags -O} @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]