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

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs                   Email:  t...@openpkg.org
  Module: openpkg-src                      Date:   20-Jan-2009 20:46:08
  Branch: HEAD                             Handle: 2009012019460800

  Modified files:
    openpkg-src/bison       bison.spec

  Log:
    avoid building unused parts which are broken on solaris

  Summary:
    Revision    Changes     Path
    1.70        +10 -4      openpkg-src/bison/bison.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bison/bison.spec
  ============================================================================
  $ cvs diff -u -r1.69 -r1.70 bison.spec
  --- openpkg-src/bison/bison.spec      13 Dec 2008 15:27:03 -0000      1.69
  +++ openpkg-src/bison/bison.spec      20 Jan 2009 19:46:08 -0000      1.70
  @@ -1,6 +1,6 @@
   ##
   ##  bison.spec -- OpenPKG RPM Package Specification
  -##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
  +##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
   ##
   ##  Permission to use, copy, modify, and distribute this software for
   ##  any purpose with or without fee is hereby granted, provided that
  @@ -36,7 +36,7 @@
   Group:        CompilerCompiler
   License:      GPL
   Version:      %{V_new}
  -Release:      20081213
  +Release:      20090120
   
   #   package options
   %option       with_old   no
  @@ -82,15 +82,21 @@
       %patch -p0 -d bison-%{V_new}
       %setup -q -T -D -a 1
       %{l_shtool} subst \
  +        -e 's;ac_config_files.*etc/bench\.pl";;' \
  +        bison-%{V_new}/configure
  +    %{l_shtool} subst \
           -e 's;^\( *SUBDIRS = .*\) examples\(.*\)$;\1\2;' \
  +        -e 's;^\( *SUBDIRS = .*\) tests\(.*\)$;\1\2;' \
  +        -e 's;^\( *SUBDIRS = .*\) etc\(.*\)$;\1\2;' \
           bison-%{V_new}/Makefile.in
  +    touch bison-%{V_new}/doc/bison.1
   
   %build
       ( cd bison-%{V_new}
         CC="%{l_cc}" \
         CFLAGS="%{l_cflags -O}" \
  -      CONFIG_SHELL=/bin/sh \
  -      ./configure \
  +      CONFIG_SHELL="%{l_bash}" \
  +      "%{l_bash}" configure \
             --prefix=%{l_prefix} \
             --mandir=%{l_prefix}/man \
             --infodir=%{l_prefix}/info \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to