RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ devtool.conf

From: Anders F. Björklund <afb@rpm5.org>
Date: Mon 29 Oct 2007 - 00:41:11 CET
Message-Id: <20071028234111.D39ED34845E@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Anders F. Björklund
  Root:   /v/rpm/cvs                       Email:  afb@rpm5.org
  Module: rpm                              Date:   29-Oct-2007 00:41:11
  Branch: HEAD                             Handle: 2007102823411100

  Modified files:
    rpm                     devtool.conf

  Log:
    rename %universal to %tiger, add MACOSX_DEPLOYMENT_TARGET

  Summary:
    Revision    Changes     Path
    2.110       +18 -3      rpm/devtool.conf
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/devtool.conf
  ============================================================================
  $ cvs diff -u -r2.109 -r2.110 devtool.conf
  --- rpm/devtool.conf	26 Oct 2007 14:59:06 -0000	2.109
  +++ rpm/devtool.conf	28 Oct 2007 23:41:11 -0000	2.110
  @@ -1257,9 +1257,11 @@
       ( eval ${1+"$@"} ) 2>&1
   
   %afb
  -    %universal
  +    %tiger
   
   %panther
  +    MACOSX_DEPLOYMENT_TARGET=10.3
  +    export MACOSX_DEPLOYMENT_TARGET
       UNIVERSAL_CC="gcc-3.3"; export PATH="$PATH:/usr/libexec/gcc/darwin/ppc/3.3" # horrible Intel workaround
       UNIVERSAL_SDK="/Developer/SDKs/MacOSX10.3.9.sdk"
       UNIVERSAL_CPPFLAGS="-I${UNIVERSAL_SDK}/usr/include"
  @@ -1268,13 +1270,26 @@
       UNIVERSAL_TARGET="--host powerpc-apple-darwin7 --target powerpc-apple-darwin7"
       @source %macosx
   
  -%universal
  +%tiger
  +    MACOSX_DEPLOYMENT_TARGET=10.4
  +    export MACOSX_DEPLOYMENT_TARGET
       UNIVERSAL_CC="gcc-4.0"
       UNIVERSAL_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
       UNIVERSAL_CPPFLAGS=""
       UNIVERSAL_CFLAGS="-isysroot ${UNIVERSAL_SDK} -arch ppc -arch i386"
       UNIVERSAL_LDFLAGS="-arch ppc -arch i386"
  -    UNIVERSAL_TARGET=""
  +    UNIVERSAL_TARGET="--host i686-apple-darwin8 --target i686-apple-darwin8"
  +    @source %macosx
  +
  +%leopard
  +    MACOSX_DEPLOYMENT_TARGET=10.5
  +    export MACOSX_DEPLOYMENT_TARGET
  +    UNIVERSAL_CC="gcc-4.0"
  +    UNIVERSAL_SDK="/Developer/SDKs/MacOSX10.5.sdk"
  +    UNIVERSAL_CPPFLAGS=""
  +    UNIVERSAL_CFLAGS="-isysroot ${UNIVERSAL_SDK} -arch ppc -arch i386"
  +    UNIVERSAL_LDFLAGS="-arch ppc -arch i386"
  +    UNIVERSAL_TARGET="--host i686-apple-darwin9 --target i686-apple-darwin9"
       @source %macosx
   
   %macosx
  @@ .
Received on Mon Oct 29 00:41:11 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.