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

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   14-Oct-2005 15:44:15
  Branch: OPENPKG_2_5_SOLID                Handle: 2005101414441400

  Modified files:           (Branch: OPENPKG_2_5_SOLID)
    openpkg-src/bochs       bochs.spec

  Log:
    MFC: Disable NE2000 NIC emulation on NetBSD and ensure our includes
    and libs are picked up by C++ compiler

  Summary:
    Revision    Changes     Path
    1.45.2.2    +6  -3      openpkg-src/bochs/bochs.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bochs/bochs.spec
  ============================================================================
  $ cvs diff -u -r1.45.2.1 -r1.45.2.2 bochs.spec
  --- openpkg-src/bochs/bochs.spec      11 Oct 2005 12:49:27 -0000      1.45.2.1
  +++ openpkg-src/bochs/bochs.spec      14 Oct 2005 13:44:14 -0000      1.45.2.2
  @@ -88,10 +88,13 @@
           Makefile.in
   
       #   configure the sources
  -    CC="%{l_cc}" \
  +    case "%{l_platform -t}" in
  +        *-netbsd* ) NIC="--disable-ne2000" ;;
  +                * ) NIC="--enable-ne2000" ;;
  +    esac
       CXX="%{l_cxx}" \
       CFLAGS="%{l_cflags -O}" \
  -    CXXFLAGS="%{l_cxxflags -O}" \
  +    CXXFLAGS="%{l_cxxflags -O} %{l_cppflags} %{l_ldflags}" \
       CPPFLAGS="%{l_cppflags}" \
       LDFLAGS="%{l_ldflags}" \
       ./configure \
  @@ -102,7 +105,7 @@
           --enable-cpu-level=5 \
           --enable-all-optimizations \
           --enable-cdrom \
  -        --enable-ne2000 \
  +        $NIC \
           --enable-compressed-hd \
           --disable-shared
   
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to