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

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   04-Jun-2004 16:49:46
  Branch: HEAD                             Handle: 2004060415494600

  Modified files:
    openpkg-src/ghostscript ghostscript.spec

  Log:
    ghostscript does not build on SuSE 9.0 unless libSM and libICE are
    specified explicitly

  Summary:
    Revision    Changes     Path
    1.57        +6  -1      openpkg-src/ghostscript/ghostscript.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ghostscript/ghostscript.spec
  ============================================================================
  $ cvs diff -u -r1.56 -r1.57 ghostscript.spec
  --- openpkg-src/ghostscript/ghostscript.spec  2 Jun 2004 09:37:16 -0000       1.56
  +++ openpkg-src/ghostscript/ghostscript.spec  4 Jun 2004 14:49:46 -0000       1.57
  @@ -43,7 +43,7 @@
   Group:        Graphics
   License:      Aladdin
   Version:      %{V_real}
  -Release:      20040602
  +Release:      20040604
   
   #   package options
   %option       with_x11     yes
  @@ -126,15 +126,20 @@
   %if "%{with_x11}" == "yes"
       x11_inc="-I`%{l_prefix}/etc/rc --query x11_incdir`"
       x11_lib="-L`%{l_prefix}/etc/rc --query x11_libdir`"
  +    x11_ext=""
  +    [ -f `%{l_prefix}/etc/rc --query x11_libdir`/libSM.a ]  && x11_ext="$x11_ext 
-lSM"
  +    [ -f `%{l_prefix}/etc/rc --query x11_libdir`/libICE.a ] && x11_ext="$x11_ext 
-lICE"
   %else
       x11_inc=""
       x11_lib=""
  +    x11_ext=""
   %endif
   %if "%{with_a4}" == "yes"
       mtcflags="$mtcflags -DA4"
   %endif
       %{l_shtool} subst \
            -e "s;^STDLIBS=-lpthread -lm;STDLIBS=$mtldflags -lm;" \
  +         -e "s;^EXTRALIBS=.*$;EXTRALIBS=$x11_ext;" \
            -e "s;^prefix = /usr/local;prefix = %{l_prefix};" \
            -e "s;CC=gcc;CC=%{l_cc};" \
            -e "s;GCFLAGS=.*\\(-fno.*\\)\$;GCFLAGS=\$1;" \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to