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:   10-Oct-2005 09:00:58
  Branch: HEAD                             Handle: 2005101008005800

  Modified files:
    openpkg-src/lsof        lsof.spec

  Log:
    cruel hack to workaround build problems resulting from the fact that
    lsof uses FreeBSD kernel sources and not all of them already pass GCC
    4.0's constraints

  Summary:
    Revision    Changes     Path
    1.56        +5  -3      openpkg-src/lsof/lsof.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/lsof/lsof.spec
  ============================================================================
  $ cvs diff -u -r1.55 -r1.56 lsof.spec
  --- openpkg-src/lsof/lsof.spec        31 Aug 2005 06:30:22 -0000      1.55
  +++ openpkg-src/lsof/lsof.spec        10 Oct 2005 07:00:58 -0000      1.56
  @@ -33,7 +33,7 @@
   Group:        Filesystem
   License:      BSD
   Version:      4.76
  -Release:      20050831
  +Release:      20051010
   
   #   list of sources
   Source0:      
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
  @@ -63,8 +63,10 @@
   
   %build
       cd lsof_%{version}_src
  +    export PATH="/bin:/usr/bin:$PATH"
  +    export LSOF_CC="%{l_cc}"
       case "%{l_platform -t}" in
  -        *-freebsd* ) platform="freebsd" ;;
  +        *-freebsd* ) platform="freebsd"; LSOF_CC="/usr/bin/cc" ;;
           *-linux*   ) platform="linux"   ;;
           *-sunos*   ) platform="solaris" ;;
           *-netbsd*  ) platform="netbsd"  ;;
  @@ -72,7 +74,7 @@
           *-aix*     ) platform="aixgcc" ;;
           * ) echo "Platform %{l_platform -t} not supported" 1>&2; exit 1 ;;
       esac
  -    PATH=/bin:/usr/bin:$PATH LSOF_CC="%{l_cc}" ./Configure -n $platform
  +    ./Configure -n $platform
       %{l_make} %{l_mflags}
   
   %install
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to