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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   14-Jan-2003 13:49:27
  Branch: HEAD                             Handle: 2003011412492700

  Added files:
    openpkg-src/ircd        ircd.freebsd.patch
  Modified files:
    openpkg-src/ircd        ircd.spec

  Log:
    Add an autoconf hack to allow FreeBSD machines to correctly build.

  Summary:
    Revision    Changes     Path
    1.1         +11 -0      openpkg-src/ircd/ircd.freebsd.patch
    1.28        +9  -3      openpkg-src/ircd/ircd.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ircd/ircd.freebsd.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 ircd.freebsd.patch
  --- /dev/null 2003-01-14 13:49:27.000000000 +0100
  +++ ircd.freebsd.patch        2003-01-14 13:49:27.000000000 +0100
  @@ -0,0 +1,11 @@
  +diff -Naur irc2.10.3p3.orig/support/configure irc2.10.3p3/support/configure
  +--- irc2.10.3p3.orig/support/configure       Tue Jan 14 12:20:16 2003
  ++++ irc2.10.3p3/support/configure    Tue Jan 14 12:29:41 2003
  +@@ -1308,7 +1308,6 @@
  + 
  +     if echo "$irc_cv_solaris_2" | egrep "^2\.(0|1|2)" >/dev/null; then
  +       cat >> confdefs.h <<\EOF
  +-#define SOLARIS_2_0_2_1_2_2 1
  + EOF
  + 
  +     elif echo "$irc_cv_solaris_2" | grep "^2\.3" >/dev/null; then
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ircd/ircd.spec
  ============================================================================
  $ cvs diff -u -r1.27 -r1.28 ircd.spec
  --- openpkg-src/ircd/ircd.spec        3 Jan 2003 10:52:39 -0000       1.27
  +++ openpkg-src/ircd/ircd.spec        14 Jan 2003 12:49:27 -0000      1.28
  @@ -33,13 +33,14 @@
   Group:        Network
   License:      BSD
   Version:      2.10.3p3
  -Release:      20020320
  +Release:      20030114
   
   #   list of sources
   Source0:      ftp://ftp.irc.org/irc/server/irc%{version}.tgz
   Source1:      rc.ircd
   Source2:      ircd.conf
   Patch0:       irc%{version}.patch
  +Patch1:       ircd.freebsd.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -57,8 +58,13 @@
       relaying to other server sites.
   
   %prep
  -    %setup -q -n irc%{version}
  -    %patch -p0
  +    %setup0 -q -n irc%{version}
  +    %patch0 -p0
  +    case "%{l_target}" in
  +        *-freebsd* )
  +        %patch1 -p1
  +        ;;
  +    esac
   
   %build
       CC="%{l_cc}" \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to