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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   11-Oct-2004 19:58:28
  Branch: HEAD                             Handle: 2004101118582700

  Modified files:
    openpkg-src/parrot      parrot.spec

  Log:
    requires gmp, uses C++ linking, and fails to install libparrot.a
    (which I assume is important)

  Summary:
    Revision    Changes     Path
    1.2         +10 -7      openpkg-src/parrot/parrot.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/parrot/parrot.spec
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 parrot.spec
  --- openpkg-src/parrot/parrot.spec    24 Jul 2004 21:46:40 -0000      1.1
  +++ openpkg-src/parrot/parrot.spec    11 Oct 2004 17:58:27 -0000      1.2
  @@ -33,8 +33,8 @@
   Class:        EVAL
   Group:        Language
   License:      Artistic/GPL
  -Version:      0.1.0
  -Release:      20040724
  +Version:      0.1.1
  +Release:      20041011
   
   #   list of sources
   Source0:      
ftp://ftp.cpan.org/pub/CPAN/authors/id/L/LT/LTOETSCH/parrot-%{version}.tar.gz
  @@ -42,8 +42,8 @@
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20040130, perl, gcc, flex, bison
  -PreReq:       OpenPKG, openpkg >= 20040130
  +BuildPreReq:  OpenPKG, openpkg >= 20040130, gmp, perl, gcc, flex, bison
  +PreReq:       OpenPKG, openpkg >= 20040130, gmp
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -68,8 +68,9 @@
           --debugging=0 \
           --optimize \
           --cc="%{l_cc}" \
  +        --cxx="%{l_cxx}" \
           --ccflags="%{l_cflags -O} %{l_cppflags}" \
  -        --link="%{l_cc}" \
  +        --link="%{l_cxx}" \
           --linkflags="%{l_ldflags}" \
           --ld="%{l_cc}" \
           --ldflags="%{l_ldflags}" \
  @@ -94,14 +95,16 @@
   
       #   install headers (are not installed by default)
       %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/lib \
           $RPM_BUILD_ROOT%{l_prefix}/include/parrot
       cp -rp include/parrot/* $RPM_BUILD_ROOT%{l_prefix}/include/parrot/
   
       #   strip down and adjust installation
       strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/bin/languages
  -    mv $RPM_BUILD_ROOT%{l_prefix}/lib/blib/lib/libparrot.a \
  -       $RPM_BUILD_ROOT%{l_prefix}/lib/libparrot.a
  +     %{l_shtool} install -c -m 644 \
  +        blib/lib/libparrot.a \
  +        $RPM_BUILD_ROOT%{l_prefix}/lib/
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/blib
   
       #   determine installation files
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to