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

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   11-Jul-2003 11:50:09
  Branch: HEAD                             Handle: 2003071110500801

  Modified files:
    openpkg-src/mysqlcc     mysqlcc.spec
    openpkg-web             news.txt

  Log:
    translate targets into qmake system types

  Summary:
    Revision    Changes     Path
    1.6         +14 -3      openpkg-src/mysqlcc/mysqlcc.spec
    1.5528      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/mysqlcc/mysqlcc.spec
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 mysqlcc.spec
  --- openpkg-src/mysqlcc/mysqlcc.spec  9 Jul 2003 16:14:42 -0000       1.5
  +++ openpkg-src/mysqlcc/mysqlcc.spec  11 Jul 2003 09:50:09 -0000      1.6
  @@ -33,7 +33,7 @@
   Group:        Database
   License:      GPL
   Version:      0.9.2
  -Release:      20030709
  +Release:      20030711
   
   #   list of sources
   Source0:      
http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQLCC/mysqlcc-%{version}-src.tar.gz
  @@ -43,8 +43,8 @@
   BuildRoot:    %{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20030103, X11, make, gcc
   PreReq:       OpenPKG, openpkg >= 20030103, X11
  -BuildPreReq:  mysql, qt
  -PreReq:       mysql, qt
  +BuildPreReq:  mysql, qt, zlib
  +PreReq:       mysql, qt, zlib
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -64,13 +64,24 @@
           mysqlcc.pro.in
   
   %build
  +    #   translate target names into qmake system types
  +    case "%{l_target}" in
  +        *-freebsd*) host=freebsd-g++              ;;
  +        *-linux*)   host=linux-g++                ;;
  +        *-solaris*) host=solaris-g++              ;;
  +        *)          host=`uname | tr A-Z a-z`-g++ ;;
  +    esac
  +    echo "ac_cv_host=\"$host\"" >./config.cache
  +
       CC="%{l_cc}" \
       CXX="%{l_cxx}" \
       CFLAGS="%{l_cflags -O}" \
       CXXFLAGS="%{l_cxxflags -O}" \
       CPPFLAGS="%{l_cppflags qt}" \
       LDFLAGS="%{l_ldflags mysql}" \
  +    LIBS="-lm" \
       ./configure \
  +        --cache-file=./config.cache \
           --prefix=%{l_prefix} \
           --with-mysql-include=%{l_prefix}/include/mysql \
           --with-mysql-lib=%{l_prefix}/lib/mysql \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5527 -r1.5528 news.txt
  --- openpkg-web/news.txt      11 Jul 2003 09:45:04 -0000      1.5527
  +++ openpkg-web/news.txt      11 Jul 2003 09:50:08 -0000      1.5528
  @@ -1,3 +1,4 @@
  +11-Jul-2003: Upgraded package: P<mysqlcc-0.9.2-20030711>
   11-Jul-2003: Upgraded package: P<j2se14-1.4.2-20030711>
   11-Jul-2003: Upgraded package: P<tomcat-3.3.1a-20030711>
   11-Jul-2003: Upgraded package: P<ghostscript-esp-7.05.6-20030711>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to