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

  Server: cvs.openpkg.org                  Name:   Matthias Kurz
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   15-Jun-2005 09:36:26
  Branch: HEAD                             Handle: 2005061508362600

  Modified files:
    openpkg-src/gd          gd.spec

  Log:
    prevent it from using stuff from /usr/local

  Summary:
    Revision    Changes     Path
    1.85        +12 -1      openpkg-src/gd/gd.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gd/gd.spec
  ============================================================================
  $ cvs diff -u -r1.84 -r1.85 gd.spec
  --- openpkg-src/gd/gd.spec    24 Mar 2005 11:18:52 -0000      1.84
  +++ openpkg-src/gd/gd.spec    15 Jun 2005 07:36:26 -0000      1.85
  @@ -33,7 +33,7 @@
   Group:        Graphics
   License:      GPL
   Version:      2.0.33
  -Release:      20050103
  +Release:      20050615
   
   #   package options
   %option       with_xpm  no
  @@ -74,6 +74,17 @@
   %prep
       %setup -q
       %patch -p0
  +    %{l_shtool} subst \
  +        -e 's;[ \t]*/usr/local/lib${libsuff};;g' \
  +        -e 's;[ \t]*-I/usr/local/include;;g' \
  +        -e 's;[ \t]*/usr/local/include/X11R[4-6];;g' \
  +        -e 's;[ \t]*/usr/local/include/X11;;g' \
  +        -e 's;[ \t]*/usr/local/include;;g' \
  +        -e 's;[ \t]*-L/usr/local/lib;;g' \
  +        -e 's;[ \t]*/usr/local/lib;;g' \
  +        -e 's;[ \t]*/usr/local/X11[^/]*/include;;g' \
  +        -e 's;[ \t]*/usr/local/x11r5/include;;g' \
  +        configure
   
   %build
       ( echo "ac_cv_header_iconv_h=no"
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to