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:   22-Dec-2007 16:41:20
  Branch: HEAD                             Handle: 2007122215411900

  Modified files:
    openpkg-src/bison       bison.spec

  Log:
    still allow us to build an ancient Bison, but at least no longer build
    it by default

  Summary:
    Revision    Changes     Path
    1.65        +8  -1      openpkg-src/bison/bison.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bison/bison.spec
  ============================================================================
  $ cvs diff -u -r1.64 -r1.65 bison.spec
  --- openpkg-src/bison/bison.spec      12 Mar 2007 08:53:07 -0000      1.64
  +++ openpkg-src/bison/bison.spec      22 Dec 2007 15:41:19 -0000      1.65
  @@ -37,7 +37,10 @@
   Group:        CompilerCompiler
   License:      GPL
   Version:      %{V_new}
  -Release:      20070312
  +Release:      20071222
  +
  +#   package options
  +%option       with_old   no
   
   #   list of sources
   Source0:      ftp://ftp.gnu.org/gnu/bison/bison-%{V_new}.tar.gz
  @@ -93,6 +96,7 @@
             --disable-nls
         %{l_make} -f Makefile %{l_mflags}
       ) || exit $?
  +%if "%{with_old}" == "yes"
       ( cd bison-%{V_old}
         CC="%{l_cc}" \
         CFLAGS="%{l_cflags -O}" \
  @@ -102,9 +106,11 @@
             --disable-nls
         %{l_make} -f Makefile %{l_mflags}
       ) || exit $?
  +%endif
   
   %install
       rm -rf $RPM_BUILD_ROOT
  +%if "%{with_old}" == "yes"
       ( cd bison-%{V_old}
         %{l_make} -f Makefile %{l_mflags} install 
AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
         mv $RPM_BUILD_ROOT%{l_prefix}/bin/bison \
  @@ -112,6 +118,7 @@
         mv $RPM_BUILD_ROOT%{l_prefix}/man/man1/bison.1 \
            $RPM_BUILD_ROOT%{l_prefix}/man/man1/bison-old.1
       ) || exit $?
  +%endif
       ( cd bison-%{V_new}
         %{l_make} -f Makefile %{l_mflags} install 
AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
       ) || exit $?
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to