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

  Server: cvs.openpkg.org                  Name:   Christoph Schug
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   17-Mar-2003 12:59:43
  Branch: HEAD                             Handle: 2003031711594200

  Modified files:
    openpkg-src/binutils    binutils.spec

  Log:
    override host type for Darwin/MacOS X

  Summary:
    Revision    Changes     Path
    1.34        +10 -2      openpkg-src/binutils/binutils.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/binutils/binutils.spec
  ============================================================================
  $ cvs diff -u -r1.33 -r1.34 binutils.spec
  --- openpkg-src/binutils/binutils.spec        3 Jan 2003 10:51:15 -0000       1.33
  +++ openpkg-src/binutils/binutils.spec        17 Mar 2003 11:59:42 -0000      1.34
  @@ -33,7 +33,7 @@
   Group:        Utility
   License:      GPL
   Version:      2.13.2.1
  -Release:      20030102
  +Release:      20030317
   
   #   list of sources
   Source0:      
ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2
  @@ -75,8 +75,16 @@
           *-linux*   ) CFLAGS="$CFLAGS -DOPENPKG_OS_LINUX"   ;;
           *-solaris* ) CFLAGS="$CFLAGS -DOPENPKG_OS_SOLARIS" ;;
       esac
  +
  +    #   override host type for specific platforms
  +    case "%{l_target}" in
  +        *-darwin*  ) host="--host=powerpc-apple-macos" ;;
  +        *          ) ;;
  +    esac
  +
       ./configure \
  -        --prefix=%{l_prefix}
  +        --prefix=%{l_prefix} \
  +        $host
       %{l_make} %{l_mflags}
   
   %install
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to