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:   07-Nov-2007 21:07:03
  Branch: HEAD                             Handle: 2007110720070300

  Modified files:
    openpkg-src/gmp         gmp.spec

  Log:
    go even one step further and make C++ support optional as the GMP C++
    API is not very important (currently)

  Summary:
    Revision    Changes     Path
    1.42        +9  -1      openpkg-src/gmp/gmp.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gmp/gmp.spec
  ============================================================================
  $ cvs diff -u -r1.41 -r1.42 gmp.spec
  --- openpkg-src/gmp/gmp.spec  7 Nov 2007 17:17:12 -0000       1.41
  +++ openpkg-src/gmp/gmp.spec  7 Nov 2007 20:07:03 -0000       1.42
  @@ -35,6 +35,9 @@
   Version:      4.2.2
   Release:      20071107
   
  +#   package options
  +%option       with_cxx  no
  +
   #   list of sources
   Source0:      ftp://ftp.gnu.org/gnu/gmp/gmp-%{version}.tar.gz
   Patch0:       gmp.patch
  @@ -42,8 +45,11 @@
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20040130, gcc, gcc::with_cxx = yes, m4, 
binutils
  +BuildPreReq:  OpenPKG, openpkg >= 20040130, gcc, m4, binutils
   PreReq:       OpenPKG, openpkg >= 20040130
  +%if "%{with_cxx}" == "yes"
  +BuildPreReq:  gcc::with_cxx = yes
  +%endif
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -80,7 +86,9 @@
       esac
       ./configure \
           --prefix=%{l_prefix} \
  +%if "%{with_cxx}" == "yes"
           --enable-cxx \
  +%endif
           --disable-shared
       %{l_make} %{l_mflags -O}
   
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to