OpenPKG-2-STABLE

  CORE/libtool-1.5.22-2.20061018
  BASE/graphviz-2.8-2.20061018

It appears that graphviz contains some files also provided by libtool.
Graphviz fails to install when libtool is already present.

I'm not sure about the prereqs; adding them like suggested below might be
a pessimization.

--- graphviz.spec       2007/03/01 16:20:43     1.1
+++ graphviz.spec       2007/03/01 16:25:12
@@ -55,8 +55,8 @@
 BuildRoot:    %{l_buildroot}
 BuildPreReq:  OpenPKG, openpkg >= 2.20061018, gcc, make, flex, bison
 PreReq:       OpenPKG, openpkg >= 2.20061018
-BuildPreReq:  freetype, png, jpeg, gd
-PreReq:       freetype, png, jpeg, gd
+BuildPreReq:  freetype, png, jpeg, gd, libtool
+PreReq:       freetype, png, jpeg, gd, libtool
 %if "%{with_x11}" == "yes"
 BuildPreReq:  X11, fontconfig
 PreReq:       X11, fontconfig
@@ -156,6 +156,9 @@
 %endif

     #   post-adjust installation
+    rm -f  %{l_prefix}/include/ltdl.h
+    rm -f  %{l_prefix}/lib/libltdl.a
+    rm -f  %{l_prefix}/lib/libltdl.la
     rm -rf %{l_prefix}/lib/graphviz/*.tcl
     rm -rf %{l_prefix}/share/graphviz/doc/html
 %if "%{with_x11}" != "yes"


-- 
Michael Diers | Software Developer
elego Software Solutions GmbH | Ohmstr. 9 | 10179 Berlin | Germany



______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to