OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   02-Aug-2008 17:53:36
  Branch: HEAD                             Handle: 2008080216533600

  Modified files:
    openpkg-src/vim         vim.spec

  Log:
    try to fix Python support

  Summary:
    Revision    Changes     Path
    1.638       +9  -1      openpkg-src/vim/vim.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/vim/vim.spec
  ============================================================================
  $ cvs diff -u -r1.637 -r1.638 vim.spec
  --- openpkg-src/vim/vim.spec  21 Jun 2008 15:42:40 -0000      1.637
  +++ openpkg-src/vim/vim.spec  2 Aug 2008 15:53:36 -0000       1.638
  @@ -37,7 +37,7 @@
   Group:        Editor
   License:      Charityware
   Version:      %{V_vl}.%{V_pl}
  -Release:      20080621
  +Release:      20080802
   
   #   package options
   %option       with_x11        no
  @@ -457,6 +457,13 @@
           -e 's;^/\* \(#define SYS_GVIMRC_FILE\).*$;\1 
"%{l_prefix}/etc/vim/gvimrc";' \
           vim%{V_vs}/src/feature.h
   
  +%if "%{with_python}" == "yes"
  +    #   fix Python includes
  +    %{l_shtool} subst \
  +        -e 's;PYTHON_CFLAGS=.*$;PYTHON_CFLAGS="`python-config --includes`";' 
\
  +        vim%{V_vs}/src/auto/configure
  +%endif
  +
   %build
       #   configure package
       cd vim%{V_vs}/src
  @@ -501,6 +508,7 @@
   %endif
   %if "%{with_python}" == "yes"
           --enable-pythoninterp \
  +        --with-python-config-dir=%{l_prefix}/lib/python/config \
   %endif
   %if "%{with_tcl}" == "yes"
           --enable-tclinterp \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to