diff options
author | wiz <wiz> | 2013-09-06 21:30:00 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-09-06 21:30:00 +0000 |
commit | ed61386febec16dfeff290c30132cc4ab3a39359 (patch) | |
tree | 34b7a96424906c2b2308f56af57e08f9d1c231dd /graphics/graphviz | |
parent | a29041a25c137bb16dee19840df97c9121b4ae58 (diff) | |
download | pkgsrc-ed61386febec16dfeff290c30132cc4ab3a39359.tar.gz |
Update to 2.32.0:
New features (July 2013)
Graphviz now supports the star node shape and a variation of linear
gradient fill with no gradient (thus, two solid colors) where the
user can specify the proportion using a colorList type for fillcolor.
New Release 2.30 (January-February 2013)
The 2.30 Release marks the switch over from the original Graphviz
graph library to the new cgraph library. If this works as planned,
the user should see no differences. The advantage of the library
is that it is much more flexible for the programmer, with a cleaner
API and support for dynamic data structures. This latter, in addition
to allowing easier mixing of algorithms, has the potential to
greatly reduce memory use in Graphviz.
One side-effect of the new library is a new level ranking algorithm
for dot. This algorithm has fewer constraints, so it is now possible
for a node to be in a cluster and be involved in a rank=same
constraint.
New features (November 2012)
We have provided Graphviz with some additional graphics, which can
be used to provide more semantic information in a graph or enhance
its aesthetics. These include gradient fill for nodes and graphs;
striped and wedged fills, so the amount of each color can be used
to represent some percentage; new node shapes pertinent to the
synthetic biology community (Thanks to Jenny Cheng); and curved
edge routing.
New features (September 2011)
We added lightweight edge labels (xlabel) and tapered edges (as a
style). There was a recent paper by Holten et al about a study of
the readability of various edge styles. We're working on some
examples and documentation. Here are some examples. (We need a
better example for xlabels, because they can float, and aren't
stuck to the upper left of the node.)
New Release 2.28 (Summer 2011)
The 2.28 release of Graphviz incorporates GvMap (formerly GMap, or
"graphs as maps"), an invention by Emden Gansner, Yifan Hu, and
Stephen Kobourov. Try the cool interactive demos showing maps of
music, TV, books, and more.
For people (like us) that care about such matters, we worked pretty
hard to tweak the font rendering code, to eliminate glitches causing
off-center labels or the ransom-note effect.
John Ellson finished porting Graphviz to Solaris OpenCSW.
We changed our license to the EPL (Eclipse Public License). (A
wikipedia article attempts to explain the differences, which we
believe to be fairly limited but the change may help some commercial
licensees.)
Diffstat (limited to 'graphics/graphviz')
-rw-r--r-- | graphics/graphviz/Makefile | 9 | ||||
-rw-r--r-- | graphics/graphviz/PLIST | 122 | ||||
-rw-r--r-- | graphics/graphviz/distinfo | 21 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-ab | 133 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-aj | 20 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-ak | 20 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-ap | 34 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-cofig_config__perl.pl | 13 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-config_config__perl.pl | 22 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-configure | 1437 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-configure.ac (renamed from graphics/graphviz/patches/patch-aa) | 37 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-lib_gvc_Makefile.in (renamed from graphics/graphviz/patches/patch-ag) | 4 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-plugin_gd_Makefile.am | 12 | ||||
-rw-r--r-- | graphics/graphviz/patches/patch-plugin_gd_Makefile.in | 12 |
14 files changed, 1623 insertions, 273 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index c43113f54ad..648a9a74405 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -1,14 +1,13 @@ -# $NetBSD: Makefile,v 1.124 2013/09/04 12:31:25 obache Exp $ +# $NetBSD: Makefile,v 1.125 2013/09/06 21:30:00 wiz Exp $ -DISTNAME= graphviz-2.26.3 -PKGREVISION= 31 +DISTNAME= graphviz-2.32.0 CATEGORIES= graphics MASTER_SITES= http://www.graphviz.org/pub/graphviz/stable/SOURCES/ MAINTAINER= sno@NetBSD.org HOMEPAGE= http://www.graphviz.org/ COMMENT= Graph Drawing Programs from AT&T Research and Lucent Bell Labs -LICENSE= cpl-1.0 +LICENSE= epl-v1.0 PKG_INSTALLATION_TYPES= overwrite pkgviews @@ -51,7 +50,7 @@ REPLACE.tclsh.old= .*tclsh REPLACE.tclsh.new= ${PREFIX}/bin/tclsh REPLACE_FILES.tclsh= tclpkg/gv/demo/modgraph.tcl -REPLACE_PERL+= config/config_perl.pl lib/gd/configure.pl \ +REPLACE_PERL+= config/config_perl.pl \ tclpkg/gv/demo/modgraph.pl contrib/dotmcl.pl \ contrib/dirgraph/dirgraph.pl diff --git a/graphics/graphviz/PLIST b/graphics/graphviz/PLIST index c4f6d63ff66..10209e71a06 100644 --- a/graphics/graphviz/PLIST +++ b/graphics/graphviz/PLIST @@ -1,19 +1,25 @@ -@comment $NetBSD: PLIST,v 1.41 2013/07/06 23:14:07 wiz Exp $ +@comment $NetBSD: PLIST,v 1.42 2013/09/06 21:30:00 wiz Exp $ bin/acyclic bin/bcomps bin/ccomps bin/circo +bin/cluster ${PLIST.gd}bin/diffimg bin/dijkstra bin/dot +bin/dot_builtins bin/dot2gxl bin/dotty bin/fdp bin/gc bin/gml2gv +bin/graphml2gv +bin/gv2gml bin/gv2gxl bin/gvcolor bin/gvgen +bin/gvmap +bin/gvmap.sh bin/gvpack bin/gvpr bin/gxl2dot @@ -24,6 +30,7 @@ bin/mm2gv bin/neato bin/nop bin/osage +bin/patchwork bin/prune bin/sccmap bin/sfdp @@ -36,7 +43,6 @@ include/graphviz/cdt.h include/graphviz/cgraph.h include/graphviz/color.h include/graphviz/geom.h -include/graphviz/graph.h include/graphviz/graphviz_version.h include/graphviz/gv.cpp include/graphviz/gv.i @@ -92,17 +98,14 @@ ${PLIST.tcl}lib/graphviz/tcl/libtkspline.la ${PLIST.tcl}lib/graphviz/tcl/pkgIndex.tcl lib/libcdt.la lib/libcgraph.la -lib/libgraph.la lib/libgvc.la lib/libgvpr.la lib/libpathplan.la lib/libxdot.la -${PLIST.lua}lib/lua/gv.so ${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/gv.pm ${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/gv.so lib/pkgconfig/libcdt.pc lib/pkgconfig/libcgraph.pc -lib/pkgconfig/libgraph.pc lib/pkgconfig/libgvc.pc lib/pkgconfig/libgvpr.pc lib/pkgconfig/libpathplan.pc @@ -112,15 +115,21 @@ man/man1/acyclic.1 man/man1/bcomps.1 man/man1/ccomps.1 man/man1/circo.1 +man/man1/cluster.1 +man/man1/diffimg.1 man/man1/dijkstra.1 man/man1/dot.1 man/man1/dotty.1 man/man1/fdp.1 man/man1/gc.1 man/man1/gml2gv.1 +man/man1/graphml2gv.1 +man/man1/gv2gml.1 man/man1/gv2gxl.1 man/man1/gvcolor.1 man/man1/gvgen.1 +man/man1/gvmap.1 +man/man1/gvmap.sh.1 man/man1/gvpack.1 man/man1/gvpr.1 man/man1/gxl2gv.1 @@ -130,15 +139,17 @@ man/man1/mm2gv.1 man/man1/neato.1 man/man1/nop.1 man/man1/osage.1 +man/man1/patchwork.1 man/man1/prune.1 man/man1/sccmap.1 man/man1/sfdp.1 -man/man1/smyrna.1 man/man1/tred.1 man/man1/twopi.1 man/man1/unflatten.1 +man/man1/vimdot.1 man/man3/cdt.3 man/man3/cgraph.3 +man/man3/expr.3 ${PLIST.tcl}${PLIST.gd}man/man3/gdtclft.3tcl man/man3/graph.3 ${PLIST.guile}man/man3/gv.3guile @@ -147,6 +158,7 @@ ${PLIST.ocaml}man/man3/gv.3ocaml ${PLIST.perl}man/man3/gv.3perl ${PLIST.tcl}man/man3/gv.3tcl man/man3/gvc.3 +man/man3/pack.3 man/man3/pathplan.3 ${PLIST.tcl}man/man3/tcldot.3tcl ${PLIST.tcl}man/man3/tkspline.3tk @@ -154,9 +166,9 @@ man/man3/xdot.3 man/man7/graphviz.7 ${PLIST.tcl}share/graphviz/demo/doted.tcl ${PLIST.tcl}share/graphviz/demo/doted.tcl.README +${PLIST.tcl}share/graphviz/demo/entities.html ${PLIST.tcl}share/graphviz/demo/entities.tcl ${PLIST.tcl}share/graphviz/demo/entities.tcl.README -${PLIST.tcl}share/graphviz/demo/entities.tcl.html ${PLIST.tcl}share/graphviz/demo/gcat.tcl ${PLIST.tcl}share/graphviz/demo/gcat.tcl.README ${PLIST.lua}share/graphviz/demo/modgraph.lua @@ -187,9 +199,9 @@ share/graphviz/doc/addingLayout.txt share/graphviz/doc/cpl1.0.txt share/graphviz/doc/fontfaq.txt share/graphviz/doc/html/FAQ.html -share/graphviz/doc/html/Gdtclft2.2.5.example.png share/graphviz/doc/html/build.html share/graphviz/doc/html/char.html +share/graphviz/doc/html/gdtclft.entities.example.png share/graphviz/doc/html/index.html share/graphviz/doc/html/info/Mcircle.gif share/graphviz/doc/html/info/Mdiamond.gif @@ -257,6 +269,13 @@ share/graphviz/doc/html/info/back.gif share/graphviz/doc/html/info/both.gif share/graphviz/doc/html/info/box.gif share/graphviz/doc/html/info/box3d.gif +share/graphviz/doc/html/info/c_bold.png +share/graphviz/doc/html/info/c_dashed.png +share/graphviz/doc/html/info/c_dotted.png +share/graphviz/doc/html/info/c_filled.png +share/graphviz/doc/html/info/c_rounded.png +share/graphviz/doc/html/info/c_solid.png +share/graphviz/doc/html/info/c_striped.png share/graphviz/doc/html/info/circle.gif share/graphviz/doc/html/info/colorlist.gif share/graphviz/doc/html/info/colors.html @@ -266,11 +285,27 @@ share/graphviz/doc/html/info/constraint.gif share/graphviz/doc/html/info/diamond.gif share/graphviz/doc/html/info/doublecircle.gif share/graphviz/doc/html/info/doubleoctagon.gif +share/graphviz/doc/html/info/e_bold.png +share/graphviz/doc/html/info/e_dashed.png +share/graphviz/doc/html/info/e_dotted.png +share/graphviz/doc/html/info/e_solid.png share/graphviz/doc/html/info/egg.gif share/graphviz/doc/html/info/ellipse.gif share/graphviz/doc/html/info/fill.gif share/graphviz/doc/html/info/folder.gif share/graphviz/doc/html/info/forward.gif +share/graphviz/doc/html/info/g_lin0.png +share/graphviz/doc/html/info/g_lin180.png +share/graphviz/doc/html/info/g_lin270.png +share/graphviz/doc/html/info/g_lin360.png +share/graphviz/doc/html/info/g_lin45.png +share/graphviz/doc/html/info/g_lin90.png +share/graphviz/doc/html/info/g_rad0.png +share/graphviz/doc/html/info/g_rad180.png +share/graphviz/doc/html/info/g_rad270.png +share/graphviz/doc/html/info/g_rad360.png +share/graphviz/doc/html/info/g_rad45.png +share/graphviz/doc/html/info/g_rad90.png share/graphviz/doc/html/info/hexagon.gif share/graphviz/doc/html/info/house.gif share/graphviz/doc/html/info/html1.gif @@ -286,11 +321,29 @@ share/graphviz/doc/html/info/invtrapezium.gif share/graphviz/doc/html/info/invtriangle.gif share/graphviz/doc/html/info/lang.html share/graphviz/doc/html/info/mrecord.gif +share/graphviz/doc/html/info/n_bold.png +share/graphviz/doc/html/info/n_dashed.png +share/graphviz/doc/html/info/n_diagonals.png +share/graphviz/doc/html/info/n_dotted.png +share/graphviz/doc/html/info/n_filled.png +share/graphviz/doc/html/info/n_rounded.png +share/graphviz/doc/html/info/n_solid.png +share/graphviz/doc/html/info/n_striped.png +share/graphviz/doc/html/info/n_wedged.png share/graphviz/doc/html/info/nohead.gif share/graphviz/doc/html/info/none.gif +share/graphviz/doc/html/info/none_back.png +share/graphviz/doc/html/info/none_both.png +share/graphviz/doc/html/info/none_forward.png +share/graphviz/doc/html/info/none_none.png +share/graphviz/doc/html/info/normal_back.png +share/graphviz/doc/html/info/normal_both.png +share/graphviz/doc/html/info/normal_forward.png +share/graphviz/doc/html/info/normal_none.png share/graphviz/doc/html/info/note.gif share/graphviz/doc/html/info/octagon.gif share/graphviz/doc/html/info/output.html +share/graphviz/doc/html/info/oval.gif share/graphviz/doc/html/info/parallelogram.gif share/graphviz/doc/html/info/pentagon.gif share/graphviz/doc/html/info/plaintext.gif @@ -306,6 +359,13 @@ share/graphviz/doc/html/info/sdlshapes.jpg share/graphviz/doc/html/info/sdlshapes.png share/graphviz/doc/html/info/septagon.gif share/graphviz/doc/html/info/shapes.html +share/graphviz/doc/html/info/spline_curved.png +share/graphviz/doc/html/info/spline_line.png +share/graphviz/doc/html/info/spline_none.png +share/graphviz/doc/html/info/spline_ortho.png +share/graphviz/doc/html/info/spline_polyline.png +share/graphviz/doc/html/info/spline_spline.png +share/graphviz/doc/html/info/square.gif share/graphviz/doc/html/info/tab.gif share/graphviz/doc/html/info/trapezium.gif share/graphviz/doc/html/info/triangle.gif @@ -318,31 +378,38 @@ ${PLIST.tcl}share/graphviz/doc/html/tcldot.html share/graphviz/doc/html/todo.html share/graphviz/doc/html/winbuild.html share/graphviz/doc/latex_suggestions.txt +share/graphviz/doc/pdf/Agraph.pdf share/graphviz/doc/pdf/acyclic.1.pdf share/graphviz/doc/pdf/bcomps.1.pdf share/graphviz/doc/pdf/ccomps.1.pdf share/graphviz/doc/pdf/cdt.3.pdf share/graphviz/doc/pdf/cgraph.3.pdf share/graphviz/doc/pdf/circo.1.pdf +share/graphviz/doc/pdf/cluster.1.pdf +share/graphviz/doc/pdf/diffimg.1.pdf share/graphviz/doc/pdf/dijkstra.1.pdf share/graphviz/doc/pdf/dot.1.pdf share/graphviz/doc/pdf/dotguide.pdf share/graphviz/doc/pdf/dotty.1.pdf share/graphviz/doc/pdf/dottyguide.pdf +share/graphviz/doc/pdf/expr.3.pdf share/graphviz/doc/pdf/fdp.1.pdf share/graphviz/doc/pdf/gc.1.pdf ${PLIST.tcl}${PLIST.gd}share/graphviz/doc/pdf/gdtclft.3tcl.pdf share/graphviz/doc/pdf/gml2gv.1.pdf -share/graphviz/doc/pdf/graph.3.pdf +share/graphviz/doc/pdf/graphml2gv.1.pdf ${PLIST.guile}share/graphviz/doc/pdf/gv.3guile.pdf ${PLIST.lua}share/graphviz/doc/pdf/gv.3lua.pdf ${PLIST.ocaml}share/graphviz/doc/pdf/gv.3ocaml.pdf ${PLIST.perl}share/graphviz/doc/pdf/gv.3perl.pdf ${PLIST.tcl}share/graphviz/doc/pdf/gv.3tcl.pdf +share/graphviz/doc/pdf/gv2gml.1.pdf share/graphviz/doc/pdf/gv2gxl.1.pdf share/graphviz/doc/pdf/gvc.3.pdf share/graphviz/doc/pdf/gvcolor.1.pdf share/graphviz/doc/pdf/gvgen.1.pdf +share/graphviz/doc/pdf/gvmap.1.pdf +share/graphviz/doc/pdf/gvmap.sh.1.pdf share/graphviz/doc/pdf/gvpack.1.pdf share/graphviz/doc/pdf/gvpr.1.pdf share/graphviz/doc/pdf/gxl2gv.1.pdf @@ -355,16 +422,19 @@ share/graphviz/doc/pdf/neato.1.pdf share/graphviz/doc/pdf/neatoguide.pdf share/graphviz/doc/pdf/nop.1.pdf share/graphviz/doc/pdf/osage.1.pdf +share/graphviz/doc/pdf/pack.3.pdf +share/graphviz/doc/pdf/patchwork.1.pdf share/graphviz/doc/pdf/pathplan.3.pdf share/graphviz/doc/pdf/prune.pdf share/graphviz/doc/pdf/sccmap.1.pdf share/graphviz/doc/pdf/sfdp.1.pdf -share/graphviz/doc/pdf/smyrna.1.pdf +share/graphviz/doc/pdf/smyrna.pdf ${PLIST.tcl}share/graphviz/doc/pdf/tcldot.3tcl.pdf ${PLIST.tcl}share/graphviz/doc/pdf/tkspline.3tk.pdf share/graphviz/doc/pdf/tred.1.pdf share/graphviz/doc/pdf/twopi.1.pdf share/graphviz/doc/pdf/unflatten.1.pdf +share/graphviz/doc/pdf/vimdot.1.pdf share/graphviz/doc/pdf/xdot.3.pdf share/graphviz/graphs/directed/KW91.gv share/graphviz/graphs/directed/Latin1.gv @@ -373,6 +443,7 @@ share/graphviz/graphs/directed/abstract.gv share/graphviz/graphs/directed/alf.gv share/graphviz/graphs/directed/arrows.gv share/graphviz/graphs/directed/awilliams.gv +share/graphviz/graphs/directed/biological.gv share/graphviz/graphs/directed/clust.gv share/graphviz/graphs/directed/clust1.gv share/graphviz/graphs/directed/clust2.gv @@ -387,6 +458,7 @@ share/graphviz/graphs/directed/fsm.gv share/graphviz/graphs/directed/grammar.gv share/graphviz/graphs/directed/hashtable.gv share/graphviz/graphs/directed/honda-tokoro.gv +share/graphviz/graphs/directed/japanese.gv share/graphviz/graphs/directed/jcctree.gv share/graphviz/graphs/directed/jsort.gv share/graphviz/graphs/directed/ldbxtried.gv @@ -424,6 +496,36 @@ share/graphviz/graphs/undirected/Heawood.gv share/graphviz/graphs/undirected/Petersen.gv share/graphviz/graphs/undirected/ngk10_4.gv share/graphviz/graphs/undirected/process.gv +share/graphviz/gvpr/addranks +share/graphviz/gvpr/addrings +share/graphviz/gvpr/anon +share/graphviz/gvpr/attr +share/graphviz/gvpr/bb +share/graphviz/gvpr/bbox +share/graphviz/gvpr/cliptree +share/graphviz/gvpr/col +share/graphviz/gvpr/collapse +share/graphviz/gvpr/color +share/graphviz/gvpr/dechain +share/graphviz/gvpr/deghist +share/graphviz/gvpr/deledges +share/graphviz/gvpr/delmulti +share/graphviz/gvpr/delnodes +share/graphviz/gvpr/depath +share/graphviz/gvpr/dijkstra +share/graphviz/gvpr/flatten +share/graphviz/gvpr/get-layers-list +share/graphviz/gvpr/group +share/graphviz/gvpr/indent +share/graphviz/gvpr/knbhd +share/graphviz/gvpr/maxdeg +share/graphviz/gvpr/path +share/graphviz/gvpr/rotate +share/graphviz/gvpr/scale +share/graphviz/gvpr/scalexy +share/graphviz/gvpr/span +share/graphviz/gvpr/topon +share/graphviz/gvpr/treetoclust share/graphviz/lefty/box.lefty share/graphviz/lefty/def.lefty share/graphviz/lefty/dotty.lefty diff --git a/graphics/graphviz/distinfo b/graphics/graphviz/distinfo index 76f66ddfa50..2299558c320 100644 --- a/graphics/graphviz/distinfo +++ b/graphics/graphviz/distinfo @@ -1,12 +1,11 @@ -$NetBSD: distinfo,v 1.42 2013/07/06 23:14:07 wiz Exp $ +$NetBSD: distinfo,v 1.43 2013/09/06 21:30:00 wiz Exp $ -SHA1 (graphviz-2.26.3.tar.gz) = 04503ac5a9eaa579859f0d017811fa245717edec -RMD160 (graphviz-2.26.3.tar.gz) = b2fbaf03b2006b43ed70e2a710363d7efbcfda77 -Size (graphviz-2.26.3.tar.gz) = 17092429 bytes -SHA1 (patch-aa) = 301ce5e8bfe68bab47ffdf513e2decbb52aff2c9 -SHA1 (patch-ab) = fcea85f1dea4de107f1d4dd5c2f489321b4b4a6f -SHA1 (patch-ag) = 1eb3aab33f132b019a3faaa80bb68d44daa58f61 -SHA1 (patch-aj) = af8c688a0beeabfc391dde7acc9c33afe9ac3546 -SHA1 (patch-ak) = d8b06e60be1014387f07ae5f00dce33a2096b855 -SHA1 (patch-ap) = 946df77ed76b1da7de6789247079755a39e9aee3 -SHA1 (patch-cofig_config__perl.pl) = 439353152cd5b1156b37b37609f670be36033c5c +SHA1 (graphviz-2.32.0.tar.gz) = a64f4a409012d13d18338ecb8bd7253083ebc35e +RMD160 (graphviz-2.32.0.tar.gz) = b0a63b7466d88b1dc4cfccc19d632ca2c5440407 +Size (graphviz-2.32.0.tar.gz) = 23756717 bytes +SHA1 (patch-config_config__perl.pl) = cacf14b41c46b979ed57752fbd406480b54a1445 +SHA1 (patch-configure) = 3da4f52cbe0e1522be23dab6661f7eb997565220 +SHA1 (patch-configure.ac) = 250812ce53541373e101142200d109fd16da9ac9 +SHA1 (patch-lib_gvc_Makefile.in) = 44c514720a840574c9aa75f4c67798471138a642 +SHA1 (patch-plugin_gd_Makefile.am) = 81de41e7589eaf7682a21636155840123a7716ab +SHA1 (patch-plugin_gd_Makefile.in) = 0008791375bfcaf2f264d07ac59db0310905e5a0 diff --git a/graphics/graphviz/patches/patch-ab b/graphics/graphviz/patches/patch-ab deleted file mode 100644 index ec66359d7db..00000000000 --- a/graphics/graphviz/patches/patch-ab +++ /dev/null @@ -1,133 +0,0 @@ -$NetBSD: patch-ab,v 1.21 2013/07/06 23:14:07 wiz Exp $ - ---- configure.orig 2010-01-26 16:01:10.000000000 +0000 -+++ configure -@@ -2822,11 +2822,18 @@ case "${host_os}" in - # For the build number: months since Jan 2000, day of month from the timestamp - # For the revision number: hour, minute from the timestamp - if test $GRAPHVIZ_VERSION_MICRO != "0"; then -- GRAPHVIZ_VERSION_BUILD=`expr \( ${GRAPHVIZ_VERSION_MICRO:0:4} - 2000 \) \* 12 + ${GRAPHVIZ_VERSION_MICRO:4:2}`${GRAPHVIZ_VERSION_MICRO:6:2} -- GRAPHVIZ_VERSION_REVISION=${GRAPHVIZ_VERSION_MICRO:9:4} -+ # JR: patch from Michael van Elst: -+ # if we have a shellm we should have a working awk, too -+ eval `echo "$GRAPHVIZ_VERSION_MICRO" | awk '{ -+ print "GRAPHVIZ_VERSION_BUILD=" \ -+ (substr($1,1,4)-2000)*12+substr($1,5,2) \ -+ substr($1,7,2) -+ print "GRAPHVIZ_VERSION_REVISION=" \ -+ substr($1,10,4) -+ }'` - fi - ;; --esac -+esac - - - -@@ -2835,7 +2842,7 @@ case "${host_os}" in - *linux* ) - case "${host_cpu}" in - powerpc64 | s390x | x86_64 ) -- LIBPOSTFIX="64" -+ LIBPOSTFIX="" - ;; - esac - ;; -@@ -6850,6 +6857,9 @@ test -n "$RC" || RC="false" - ;; - *-sgi-irix* ) - ;; -+ *-ibm-aix* ) -+ CC=cc_r -+ ;; - esac - else - for ac_prog in windres -@@ -24867,7 +24877,7 @@ $as_echo_n "checking for Lua headers and - LUA_VERSION=`$PKGCONFIG --modversion lua$l` - LUA_INCLUDES="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l` - LUA_LIBS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l` -- LUA_INSTALL_DIR="/usr/lib$LIBPOSTFIX/lua/`$PKGCONFIG --variable=V lua`" -+ LUA_INSTALL_DIR="${PREFIX}/lib$LIBPOSTFIX/lua/`$PKGCONFIG --variable=V lua`" - - pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null` - if test "x$?" = "x0"; then -@@ -24931,7 +24941,7 @@ $as_echo_n "checking for Lua headers and - LUA_INCLUDES=`$LUACONFIG --include` - LUA_LIBS=`$LUACONFIG --libs` - LUA_VERSION="5.0.x" -- LUA_INSTALL_DIR="/usr/lib$LIBPOSTFIX/lua/5.0" -+ LUA_INSTALL_DIR="${PREFIX}/lib$LIBPOSTFIX/lua/5.0" - fi - fi - -@@ -25403,7 +25413,7 @@ fi - - { $as_echo "$as_me:$LINENO: checking for Lua compiling and linking" >&5 - $as_echo_n "checking for Lua compiling and linking... " >&6; } -- LUA_TEST=`LT=luatest.c ; echo "#include <lua.h>" > $LT; echo "#include <lualib.h>" >> $LT; echo "int main() { luaopen_base((lua_State *)lua_open()); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $LUA_INCLUDES $LUA_LIBS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1` -+ LUA_TEST=`LT=luatest.c ; echo "#include <lua.h>" > $LT; echo "#include <lualib.h>" >> $LT; echo "int main() { luaopen_base((lua_State *)luaL_newstate()); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $LUA_INCLUDES $LUA_LIBS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1` - if test "x$LUA_TEST" != "x0" ; then - { $as_echo "$as_me:$LINENO: result: no" >&5 - $as_echo "no" >&6; } -@@ -25535,8 +25545,8 @@ $as_echo "no" >&6; } - fi - - -- OCAML_INCLUDES=-I/usr/lib$LIBPOSTFIX/ocaml -- OCAML_LIBS=-L/usr/lib$LIBPOSTFIX/ocaml -+ OCAML_INCLUDES=-I${PREFIX}/lib$LIBPOSTFIX/ocaml -+ OCAML_LIBS=-L${PREFIX}/lib$LIBPOSTFIX/ocaml - save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $OCAML_INCLUDES" - if test "${ac_cv_header_caml_mlvalues_h+set}" = set; then -@@ -26003,13 +26013,13 @@ fi - if test "x$PHP" = "x"; then - use_php="No (php not available)" - else -- if test -d /usr/include/php5; then -- PHP_INCLUDES="-I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/Zend -I/usr/include/php5/TSRM" -+ if test -d ${PREFIX}/include/php5; then -+ PHP_INCLUDES="-I${PREFIX}/include/php5 -I${PREFIX}/include/php5/main -I${PREFIX}/include/php5/Zend -I${PREFIX}/include/php5/TSRM" - else -- PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM" -+ PHP_INCLUDES="-I${PREFIX}/include/php -I${PREFIX}/include/php/main -I${PREFIX}/include/php/Zend -I${PREFIX}/include/php/TSRM" - fi -- PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php/modules" -- PHP_INSTALL_DATADIR="/usr/share/php" -+ PHP_INSTALL_DIR="${PREFIX}/lib${LIBPOSTFIX}/php/modules" -+ PHP_INSTALL_DATADIR="${PREFIX}/share/php" - PHP_LIBS= - save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $PHP_INCLUDES" -@@ -32259,7 +32269,7 @@ fi - - # Check whether --with-platformsdkincludedir was given. - if test "${with_platformsdkincludedir+set}" = set; then -- withval=$with_platformsdkincludedir; PLATFORMSDKINCLUDE=$withval; PLATFORMSDKINCLUDE_ESCAPED=${PLATFORMSDKINCLUDE//'\\'/\\\\}; PLATFORMSDKINCLUDE_ESCAPED=${PLATFORMSDKINCLUDE_ESCAPED// /\\ } -+ withval=$with_platformsdkincludedir; PLATFORMSDKINCLUDE=$withval; PLATFORMSDKINCLUDE_ESCAPED=`echo ${PLATFORMSDKINCLUDE} | sed "s/'\\'/\\\\/g" | sed "s/ /\\ /g"` - fi - - -@@ -34907,10 +34917,12 @@ cat >>conftest.$ac_ext <<_ACEOF - - #include <stdio.h> - #include <assert.h> -+ #include <time.h> - #define PI 3.14159265358979323846 - extern void sincos(double x, double *s, double *c); - int main () { - double sinx=0.0, cosx=1.0; -+ sincos(time(NULL)&1,&sinx,&cosx); - sincos(PI/2.0,&sinx,&cosx); - assert(sinx>0.9999999); - assert(sinx<1.0000001); -@@ -38777,7 +38791,7 @@ else - use_gv_tcl="Yes" - fi - if test "x$use_gd" != "xYes"; then -- if test "x$use_gd" == "xYes (internal)"; then -+ if test "x$use_gd" = "xYes (internal)"; then - use_gdtclft="Yes" - else - use_gdtclft="No (gd not available)" diff --git a/graphics/graphviz/patches/patch-aj b/graphics/graphviz/patches/patch-aj deleted file mode 100644 index 55c8896a08c..00000000000 --- a/graphics/graphviz/patches/patch-aj +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-aj,v 1.12 2010/11/17 15:46:21 dholland Exp $ - ---- plugin/gd/Makefile.am.orig 2009-09-10 23:18:32.000000000 +0000 -+++ plugin/gd/Makefile.am -@@ -39,6 +39,7 @@ libgvplugin_gd_la_LIBADD = \ - $(top_builddir)/lib/gd/libgvgd_C.la \ - $(top_builddir)/lib/gvc/libgvc.la \ - $(top_builddir)/lib/$(GRAPH)/lib$(GRAPH).la \ -+ $(top_builddir)/lib/pathplan/libpathplan.la \ - $(top_builddir)/lib/cdt/libcdt.la \ - @PANGOCAIRO_LIBS@ @ICONV_LIBS@ @FONTCONFIG_LIBS@ @FREETYPE2_LIBS@ @JPEG_LIBS@ @PNG_LIBS@ @EXPAT_LIBS@ @Z_LIBS@ @MATH_LIBS@ - AM_CPPFLAGS += -DNONDLL -@@ -46,6 +47,7 @@ else - libgvplugin_gd_la_LIBADD = \ - $(top_builddir)/lib/gvc/libgvc.la \ - $(top_builddir)/lib/$(GRAPH)/lib$(GRAPH).la \ -+ $(top_builddir)/lib/pathplan/libpathplan.la \ - $(top_builddir)/lib/cdt/libcdt.la @PANGOCAIRO_LIBS@ @GD_LIBS@ @MATH_LIBS@ - endif - libgvplugin_gd_la_DEPENDENCIES = $(top_builddir)/lib/gvc/libgvc.la diff --git a/graphics/graphviz/patches/patch-ak b/graphics/graphviz/patches/patch-ak deleted file mode 100644 index 5a51dd262c7..00000000000 --- a/graphics/graphviz/patches/patch-ak +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-ak,v 1.14 2010/11/17 15:46:21 dholland Exp $ - ---- plugin/gd/Makefile.in.orig 2010-01-26 16:01:27.000000000 +0000 -+++ plugin/gd/Makefile.in -@@ -448,6 +448,7 @@ libgvplugin_gd_la_SOURCES = $(libgvplugi - @WITH_MYLIBGD_FALSE@libgvplugin_gd_la_LIBADD = \ - @WITH_MYLIBGD_FALSE@ $(top_builddir)/lib/gvc/libgvc.la \ - @WITH_MYLIBGD_FALSE@ $(top_builddir)/lib/$(GRAPH)/lib$(GRAPH).la \ -+@WITH_MYLIBGD_FALSE@ $(top_builddir)/lib/pathplan/libpathplan.la \ - @WITH_MYLIBGD_FALSE@ $(top_builddir)/lib/cdt/libcdt.la \ - @WITH_MYLIBGD_FALSE@ @PANGOCAIRO_LIBS@ @GD_LIBS@ @MATH_LIBS@ \ - @WITH_MYLIBGD_FALSE@ $(am__append_3) -@@ -455,6 +456,7 @@ libgvplugin_gd_la_SOURCES = $(libgvplugi - @WITH_MYLIBGD_TRUE@ $(top_builddir)/lib/gd/libgvgd_C.la \ - @WITH_MYLIBGD_TRUE@ $(top_builddir)/lib/gvc/libgvc.la \ - @WITH_MYLIBGD_TRUE@ $(top_builddir)/lib/$(GRAPH)/lib$(GRAPH).la \ -+@WITH_MYLIBGD_TRUE@ $(top_builddir)/lib/pathplan/libpathplan.la \ - @WITH_MYLIBGD_TRUE@ $(top_builddir)/lib/cdt/libcdt.la \ - @WITH_MYLIBGD_TRUE@ @PANGOCAIRO_LIBS@ @ICONV_LIBS@ \ - @WITH_MYLIBGD_TRUE@ @FONTCONFIG_LIBS@ @FREETYPE2_LIBS@ \ diff --git a/graphics/graphviz/patches/patch-ap b/graphics/graphviz/patches/patch-ap deleted file mode 100644 index d8370c84506..00000000000 --- a/graphics/graphviz/patches/patch-ap +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-ap,v 1.12 2009/05/17 12:55:52 sno Exp $ - ---- lib/gvc/gvconfig.c.orig 2009-02-25 17:46:45.000000000 +0000 -+++ lib/gvc/gvconfig.c 2009-04-25 18:18:53.000000000 +0000 -@@ -543,11 +543,7 @@ - } - else { - f = fopen(gvc->config_path,"r"); -- if (!f) { -- agerr (AGERR,"failed to open %s for read.\n", gvc->config_path); -- exit(1); -- } -- else { -+ if (f) { - config_text = gmalloc(config_st.st_size + 1); - sz = fread(config_text, 1, config_st.st_size, f); - if (sz == 0) { -@@ -560,10 +556,13 @@ - rc = gvconfig_plugin_install_from_config(gvc, config_text); - /* NB. config_text not freed because we retain char* into it */ - } -- } -- if (f) { -+ - fclose(f); -- } -+ } -+ else { -+ agerr (AGERR,"failed to open %s for read.\n", gvc->config_path); -+ exit(1); -+ } - } - } - #endif diff --git a/graphics/graphviz/patches/patch-cofig_config__perl.pl b/graphics/graphviz/patches/patch-cofig_config__perl.pl deleted file mode 100644 index 504d4241fe9..00000000000 --- a/graphics/graphviz/patches/patch-cofig_config__perl.pl +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-cofig_config__perl.pl,v 1.1 2012/05/05 22:14:39 joerg Exp $ - ---- config/config_perl.pl.orig 2012-05-05 16:30:45.000000000 +0000 -+++ config/config_perl.pl -@@ -4,7 +4,7 @@ if ($ARGV[0] eq "PERL_LIBS") { - $archlib = $Config{archlib}; - $libperl = $Config{libperl}; - $libperl =~ s/lib([^\.]+).*/$1/; -- print "-L$archlib/CORE -l$libperl"; -+ print "-Wl,-rpath,$archlib/CORE -L$archlib/CORE -l$libperl"; - } - if ($ARGV[0] eq "PERL_INCLUDES") { - $archlib = $Config{archlib}; diff --git a/graphics/graphviz/patches/patch-config_config__perl.pl b/graphics/graphviz/patches/patch-config_config__perl.pl new file mode 100644 index 00000000000..2172d085ef8 --- /dev/null +++ b/graphics/graphviz/patches/patch-config_config__perl.pl @@ -0,0 +1,22 @@ +$NetBSD: patch-config_config__perl.pl,v 1.1 2013/09/06 21:30:00 wiz Exp $ + +--- config/config_perl.pl.orig 2013-08-01 17:35:15.000000000 +0000 ++++ config/config_perl.pl +@@ -4,7 +4,7 @@ if ($ARGV[0] eq "PERL_LIBS") { + $archlib = $Config{archlib}; + $libperl = $Config{libperl}; + $libperl =~ s/lib([^\.]+).*/$1/; +- print "-L$archlib/CORE -l$libperl"; ++ print "-Wl,-rpath,$archlib/CORE -L$archlib/CORE -l$libperl"; + } + if ($ARGV[0] eq "PERL_INCLUDES") { + $archlib = $Config{archlib}; +@@ -14,7 +14,7 @@ if ($ARGV[0] eq "PERL_INSTALL_DIR") { + + my $d; + +- foreach $d qw(installvendorarch vendorarch installsitearch sitearch) { ++ foreach $d (qw(installvendorarch vendorarch installsitearch sitearch)) { + if (exists($Config{$d}) and defined($Config{$d}) and + ($Config{$d} ne '') ) { + print "$Config{$d}"; diff --git a/graphics/graphviz/patches/patch-configure b/graphics/graphviz/patches/patch-configure new file mode 100644 index 00000000000..06863d41899 --- /dev/null +++ b/graphics/graphviz/patches/patch-configure @@ -0,0 +1,1437 @@ +$NetBSD: patch-configure,v 1.1 2013/09/06 21:30:00 wiz Exp $ + +--- configure.orig 2013-08-01 17:39:03.000000000 +0000 ++++ configure +@@ -3466,11 +3466,18 @@ case "${host_os}" in + # For the build number: months since Jan 2000, day of month from the timestamp + # For the revision number: hour, minute from the timestamp + if test $GRAPHVIZ_VERSION_MICRO != "0"; then +- GRAPHVIZ_VERSION_BUILD=`expr \( ${GRAPHVIZ_VERSION_MICRO:0:4} - 2000 \) \* 12 + ${GRAPHVIZ_VERSION_MICRO:4:2}`${GRAPHVIZ_VERSION_MICRO:6:2} +- GRAPHVIZ_VERSION_REVISION=${GRAPHVIZ_VERSION_MICRO:9:4} ++ # JR: patch from Michael van Elst: ++ # if we have a shellm we should have a working awk, too ++ eval `echo "$GRAPHVIZ_VERSION_MICRO" | awk '{ ++ print "GRAPHVIZ_VERSION_BUILD=" \ ++ (substr($1,1,4)-2000)*12+substr($1,5,2) \ ++ substr($1,7,2) ++ print "GRAPHVIZ_VERSION_REVISION=" \ ++ substr($1,10,4) ++ }'` + fi + ;; +-esac ++esac + + + +@@ -3479,7 +3486,7 @@ case "${host_os}" in + *linux* ) + case "${host_cpu}" in + powerpc64 | s390x | x86_64 | sparc64 ) +- LIBPOSTFIX="64" ++ LIBPOSTFIX="" + ;; + esac + ;; +@@ -3590,7 +3597,7 @@ cat >>confdefs.h <<_ACEOF + #define NO_POSTSCRIPT_ALIAS $NO_POSTSCRIPT_ALIAS + _ACEOF + +- if test "x$UWIN" == "xyes" -o "x$CYGWIN" == "xyes" -o "x$MINGW32" == "xyes"; then ++ if test "x$UWIN" = "xyes" -o "x$CYGWIN" == "xyes" -o "x$MINGW32" == "xyes"; then + WITH_WIN32_TRUE= + WITH_WIN32_FALSE='#' + else +@@ -3598,7 +3605,7 @@ else + WITH_WIN32_FALSE= + fi + +- if test "x$DARWIN9" == "xyes"; then ++ if test "x$DARWIN9" = "xyes"; then + WITH_DARWIN9_TRUE= + WITH_DARWIN9_FALSE='#' + else +@@ -4151,7 +4158,7 @@ if ! `cmp -s $srcdir/ast_common.h.in ast + fi + + +-if test "x${prefix}" == "xNONE"; then ++if test "x${prefix}" = "xNONE"; then + prefix=${ac_default_prefix} + + fi +@@ -4174,7 +4181,7 @@ if test "${enable_static+set}" = set; th + enableval=$enable_static; + fi + +-if test "x$enable_static" == "xyes"; then ++if test "x$enable_static" = "xyes"; then + # Check whether --enable-static was given. + if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} +@@ -4238,7 +4245,7 @@ fi + + use_static="No (disabled by default)" + fi +- if test "x$enable_static" == "xyes"; then ++ if test "x$enable_static" = "xyes"; then + ENABLE_STATIC_TRUE= + ENABLE_STATIC_FALSE='#' + else +@@ -4326,7 +4333,7 @@ fi + + + fi +- if test "x$enable_shared" == "xyes"; then ++ if test "x$enable_shared" = "xyes"; then + ENABLE_SHARED_TRUE= + ENABLE_SHARED_FALSE='#' + else +@@ -13390,7 +13397,7 @@ if test "${with_tclsh+set}" = set; then + fi + + +-if test "x$TCLSH" == "x"; then ++if test "x$TCLSH" = "x"; then + for ac_prog in tclsh8.6 tclsh8.5 tclsh8.4 tclsh8.3 tclsh + do + # Extract the first word of "$ac_prog", so it can be a program name with args. +@@ -13436,7 +13443,7 @@ fi + test -n "$TCLSH" && break + done + +-# if test "x$TCLSH" == "x"; then ++# if test "x$TCLSH" = "x"; then + # AC_MSG_ERROR([Unable to find a tclsh. Tclsh is a required program for building graphviz, independent of wether tcl-based graphviz products are built]) + # use_tcl="No (tclsh unavailable)" + # fi +@@ -17641,6 +17648,9 @@ test -n "$RC" || RC="false" + ;; + *-sgi-irix* ) + ;; ++ *-ibm-aix* ) ++ CC=cc_r ++ ;; + esac + else + for ac_prog in windres +@@ -17739,7 +17749,7 @@ _ACEOF + + fi + +- if test "x$RC" == "xrc"; then ++ if test "x$RC" = "xrc"; then + RC_IS_RC_TRUE= + RC_IS_RC_FALSE='#' + else +@@ -17747,7 +17757,7 @@ else + RC_IS_RC_FALSE= + fi + +- if test "x$RC" == "xwindres"; then ++ if test "x$RC" = "xwindres"; then + RC_IS_WINDRES_TRUE= + RC_IS_WINDRES_FALSE='#' + else +@@ -18250,7 +18260,7 @@ fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5 + $as_echo "$ac_cv_type_socklen_t" >&6; } +-if test $ac_cv_type_socklen_t == no; then ++if test $ac_cv_type_socklen_t = no; then + + $as_echo "#define socklen_t unsigned" >>confdefs.h + +@@ -19832,7 +19842,7 @@ fi + LDFLAGS="$save_LDFLAGS" + CFLAGS="$save_CFLAGS" + else +- if test "x$DARWIN9" == "xyes"; then ++ if test "x$DARWIN9" = "xyes"; then + LIBLTDL_LDFLAGS="-Wl,-unexported_symbol,_lt_*" + fi + fi +@@ -19878,7 +19888,7 @@ else + with_efence=no + fi + +-if test "x$with_efence" == "xyes"; then ++if test "x$with_efence" = "xyes"; then + LIBS="$LIBS -lefence" + fi + +@@ -20566,7 +20576,7 @@ fi + + fi + +-if test "x$no_x" == "xyes"; then ++if test "x$no_x" = "xyes"; then + use_xlib="No (disabled or unavailable)" + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: X11 not available." >&5 + $as_echo "$as_me: WARNING: X11 not available." >&2;} +@@ -20645,7 +20655,7 @@ $as_echo "yes" >&6; } + HAVE_XRENDER="yes" + fi + fi +- if test "x$use_xlib" == "xYes"; then ++ if test "x$use_xlib" = "xYes"; then + WITH_X_TRUE= + WITH_X_FALSE='#' + else +@@ -20653,7 +20663,7 @@ else + WITH_X_FALSE= + fi + +- if test "x$,HAVE_XRENDER" == "xyes"; then ++ if test "x$,HAVE_XRENDER" = "xyes"; then + WITH_XRENDER_TRUE= + WITH_XRENDER_FALSE='#' + else +@@ -20711,7 +20721,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$SWIG" == "x"; then ++ if test "x$SWIG" = "x"; then + use_swig="No (swig not available)" + else + SWIG_VERSION=`$SWIG -version 2>&1 | $EGREP Version | cut -d ' ' -f 3` +@@ -20726,7 +20736,7 @@ fi + fi + fi + fi +- if test "x$SWIG" == "x"; then ++ if test "x$SWIG" = "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The version of swig is too old." >&5 + $as_echo "$as_me: WARNING: The version of swig is too old." >&2;} + use_swig="No (swig too old)" +@@ -20799,7 +20809,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$MCS" == "x"; then ++ if test "x$MCS" = "x"; then + use_sharp="No (mcs not available)" + else + use_sharp="Yes" +@@ -20811,7 +20821,7 @@ fi + fi + fi + fi +- if test "x$use_sharp" == "xYes"; then ++ if test "x$use_sharp" = "xYes"; then + WITH_SHARP_TRUE= + WITH_SHARP_FALSE='#' + else +@@ -20875,7 +20885,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$GO" == "x"; then ++ if test "x$GO" = "x"; then + use_go="No (GO compiler not available)" + else + GO_INCLUDES= +@@ -20900,7 +20910,7 @@ fi + fi + fi + fi +- if test "x$use_go" == "xYes"; then ++ if test "x$use_go" = "xYes"; then + WITH_GO_TRUE= + WITH_GO_FALSE='#' + else +@@ -20969,7 +20979,7 @@ fi + test -n "$GUILE" && break + done + +- if test "x$GUILE" == "x"; then ++ if test "x$GUILE" = "x"; then + use_guile="No (guile not available)" + else + GUILE_VERSION=`$GUILE --version | sed -n '1 s/^.* \+\([0-9\.]\+\)$/\1/ p'` +@@ -20984,7 +20994,7 @@ done + fi + fi + fi +- if test "x$GUILE" == "x"; then ++ if test "x$GUILE" = "x"; then + use_guile="No (guile is too old)" + else + GUILE_INCLUDES= +@@ -21226,7 +21236,7 @@ fi + fi + fi + fi +- if test "x$use_guile" == "xYes"; then ++ if test "x$use_guile" = "xYes"; then + WITH_GUILE_TRUE= + WITH_GUILE_FALSE='#' + else +@@ -21290,7 +21300,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$IO" == "x"; then ++ if test "x$IO" = "x"; then + use_io="No (io not available)" + else + use_io="Yes" +@@ -21302,7 +21312,7 @@ fi + fi + fi + fi +- if test "x$use_io" == "xYes"; then ++ if test "x$use_io" = "xYes"; then + WITH_IO_TRUE= + WITH_IO_FALSE='#' + else +@@ -21366,7 +21376,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$JAVA" == "x"; then ++ if test "x$JAVA" = "x"; then + use_java="No (java not available)" + else + for try_java_include in \ +@@ -21419,7 +21429,7 @@ fi + fi + fi + fi +- if test "x$use_java" == "xYes"; then ++ if test "x$use_java" = "xYes"; then + WITH_JAVA_TRUE= + WITH_JAVA_FALSE='#' + else +@@ -21483,7 +21493,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$LUA" == "x"; then ++ if test "x$LUA" = "x"; then + use_lua="No (lua not available)" + else + ac_save_CPPFLAGS="$CPPFLAGS" +@@ -21540,7 +21550,7 @@ fi + LDFLAGS="$LDFLAGS -L$lua_lib" + fi + +- if test "x$LUA_INCLUDES" == "x" -a "x$LUA_LIBS" == "x" ; then ++ if test "x$LUA_INCLUDES" = "x" -a "x$LUA_LIBS" == "x" ; then + PKGCONFIG="" + for ac_prog in pkg-config + do +@@ -21590,14 +21600,14 @@ $as_echo_n "checking for Lua headers and + echo + for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do + pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null` +- if test "x$?" == "x0" ; then ++ if test "x$?" = "x0" ; then + LUA_VERSION=`$PKGCONFIG --modversion lua$l` + LUA_INCLUDES="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l` + LUA_LIBS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l` +- LUA_INSTALL_DIR="/usr/lib$LIBPOSTFIX/lua/`$PKGCONFIG --variable=V lua`" ++ LUA_INSTALL_DIR="${PREFIX}/lib$LIBPOSTFIX/lua/`$PKGCONFIG --variable=V lua`" + + pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null` +- if test "x$?" == "x0"; then ++ if test "x$?" = "x0"; then + LUA_INCLUDES="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l` + LUA_LIBS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l` + fi +@@ -21607,7 +21617,7 @@ $as_echo_n "checking for Lua headers and + fi + fi + +- if test "x$LUA_INCLUDES" == "x" -o "x$LUA_LIBS" == "x" ; then ++ if test "x$LUA_INCLUDES" = "x" -o "x$LUA_LIBS" == "x" ; then + LUACONFIG="" + for ac_prog in lua-config lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0 + do +@@ -21658,11 +21668,11 @@ $as_echo_n "checking for Lua headers and + LUA_INCLUDES=`$LUACONFIG --include` + LUA_LIBS=`$LUACONFIG --libs` + LUA_VERSION="5.0.x" +- LUA_INSTALL_DIR="/usr/lib$LIBPOSTFIX/lua/5.0" ++ LUA_INSTALL_DIR="${PREFIX}/lib$LIBPOSTFIX/lua/5.0" + fi + fi + +- if test "x$LUA_INCLUDES" == "x" -o "x$LUA_LIBS" == "x" ; then ++ if test "x$LUA_INCLUDES" = "x" -o "x$LUA_LIBS" == "x" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Lua headers and libraries" >&5 + $as_echo_n "checking for Lua headers and libraries... " >&6; } + echo +@@ -21682,7 +21692,7 @@ else + fi + + +- if test "x$ac_found_lua_header" == "xyes" -a "x$ac_found_liblua_header" == "xyes"; then ++ if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" == "xyes"; then + LUA_INCLUDES="$CFLAGS" + fi + for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do +@@ -21730,7 +21740,7 @@ else + ac_found_lua_lib="no" + fi + +- if test "x$ac_found_lua_lib" == "xyes" ; then ++ if test "x$ac_found_lua_lib" = "xyes" ; then + LUA_VERSION=">=5.1.0" + + LUA_LIBS="$LDFLAGS -llua$l -lm" +@@ -21786,7 +21796,7 @@ else + ac_found_liblua_lib="no" + fi + +- if test "x$ac_found_liblua_lib" == "xyes" ; then ++ if test "x$ac_found_liblua_lib" = "xyes" ; then + LUA_VERSION="5.0.x" + + LUA_LIBS="$LUA_LFLAGS -llualib$l" +@@ -21831,7 +21841,7 @@ $as_echo "$as_me: WARNING: + fi + fi + fi +- if test "x$use_lua" == "xYes"; then ++ if test "x$use_lua" = "xYes"; then + WITH_LUA_TRUE= + WITH_LUA_FALSE='#' + else +@@ -21896,7 +21906,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$OCAML" == "x"; then ++ if test "x$OCAML" = "x"; then + use_ocaml="No (ocaml not available)" + else + # Extract the first word of "ocamlopt", so it can be a program name with args. +@@ -21936,8 +21946,8 @@ $as_echo "no" >&6; } + fi + + +- OCAML_INCLUDES=-I/usr/lib$LIBPOSTFIX/ocaml +- OCAML_LIBS=-L/usr/lib$LIBPOSTFIX/ocaml ++ OCAML_INCLUDES=-I${PREFIX}/lib$LIBPOSTFIX/ocaml ++ OCAML_LIBS=-L${PREFIX}/lib$LIBPOSTFIX/ocaml + save_CPPFLAGS=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $OCAML_INCLUDES" + ac_fn_c_check_header_mongrel "$LINENO" "caml/mlvalues.h" "ac_cv_header_caml_mlvalues_h" "$ac_includes_default" +@@ -21961,7 +21971,7 @@ fi + fi + fi + fi +- if test "x$use_ocaml" == "xYes"; then ++ if test "x$use_ocaml" = "xYes"; then + WITH_OCAML_TRUE= + WITH_OCAML_FALSE='#' + else +@@ -22033,7 +22043,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$PERL" == "x"; then ++ if test "x$PERL" = "x"; then + use_perl="No (perl not available)" + else + if test $PERL -e 'exit !($] <= 5.004)' > /dev/null 2>&1 ; then +@@ -22075,7 +22085,7 @@ fi + fi + fi + fi +- if test "x$use_perl" == "xYes"; then ++ if test "x$use_perl" = "xYes"; then + WITH_PERL_TRUE= + WITH_PERL_FALSE='#' + else +@@ -22144,16 +22154,16 @@ fi + test -n "$PHP" && break + done + +- if test "x$PHP" == "x"; then ++ if test "x$PHP" = "x"; then + use_php="No (php not available)" + else +- if test -d /usr/include/php5; then +- PHP_INCLUDES="-I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/Zend -I/usr/include/php5/TSRM" ++ if test -d ${PREFIX}/include/php5; then ++ PHP_INCLUDES="-I${PREFIX}/include/php5 -I${PREFIX}/include/php5/main -I${PREFIX}/include/php5/Zend -I${PREFIX}/include/php5/TSRM" + else +- PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM" ++ PHP_INCLUDES="-I${PREFIX}/include/php -I${PREFIX}/include/php/main -I${PREFIX}/include/php/Zend -I${PREFIX}/include/php/TSRM" + fi +- PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php/modules" +- PHP_INSTALL_DATADIR="/usr/share/php" ++ PHP_INSTALL_DIR="${PREFIX}/lib${LIBPOSTFIX}/php/modules" ++ PHP_INSTALL_DATADIR="${PREFIX}/share/php" + PHP_LIBS= + save_CPPFLAGS=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $PHP_INCLUDES" +@@ -22180,7 +22190,7 @@ fi + fi + fi + fi +- if test "x$use_php" == "xYes"; then ++ if test "x$use_php" = "xYes"; then + WITH_PHP_TRUE= + WITH_PHP_FALSE='#' + else +@@ -22244,11 +22254,11 @@ $as_echo "no" >&6; } + fi + + +- if test "x$PYTHON" == "x"; then ++ if test "x$PYTHON" = "x"; then + use_python="No (python not available)" + else + PYTHON_VERSION=`$PYTHON -V 2>&1 | $EGREP Python | cut -d ' ' -f 2` +- if test "x$PYTHON_VERSION" == "x"; then ++ if test "x$PYTHON_VERSION" = "x"; then + PYTHON= + else + PYTHON_VERSION_MAJOR=`echo $PYTHON_VERSION | cut -d '.' -f 1` +@@ -22265,7 +22275,7 @@ fi + fi + fi + fi +- if test "x$PYTHON" == "x"; then ++ if test "x$PYTHON" = "x"; then + use_python="No (python is too old)" + else + PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"` +@@ -22296,7 +22306,7 @@ fi + fi + fi + fi +- if test "x$use_python" == "xYes"; then ++ if test "x$use_python" = "xYes"; then + WITH_PYTHON_TRUE= + WITH_PYTHON_FALSE='#' + else +@@ -22360,11 +22370,11 @@ $as_echo "no" >&6; } + fi + + +- if test "x$PYTHON23" == "x"; then ++ if test "x$PYTHON23" = "x"; then + use_python23="No (python23 not available)" + else + PYTHON23_VERSION=`$PYTHON23 -V 2>&1 | $EGREP Python | cut -d ' ' -f 2` +- if test "x$PYTHON23_VERSION" == "x"; then ++ if test "x$PYTHON23_VERSION" = "x"; then + PYTHON23= + else + PYTHON23_VERSION_MAJOR=`echo $PYTHON23_VERSION | cut -d '.' -f 1` +@@ -22381,7 +22391,7 @@ fi + fi + fi + fi +- if test "x$PYTHON23" == "x"; then ++ if test "x$PYTHON23" = "x"; then + use_python23="No (python2.3 is too old)" + else + PYTHON23_PREFIX=`$PYTHON23 -c "import sys; print sys.prefix"` +@@ -22412,7 +22422,7 @@ fi + fi + fi + fi +- if test "x$use_python23" == "xYes"; then ++ if test "x$use_python23" = "xYes"; then + WITH_PYTHON23_TRUE= + WITH_PYTHON23_FALSE='#' + else +@@ -22476,11 +22486,11 @@ $as_echo "no" >&6; } + fi + + +- if test "x$PYTHON24" == "x"; then ++ if test "x$PYTHON24" = "x"; then + use_python24="No (python24 not available)" + else + PYTHON24_VERSION=`$PYTHON24 -V 2>&1 | $EGREP Python | cut -d ' ' -f 2` +- if test "x$PYTHON24_VERSION" == "x"; then ++ if test "x$PYTHON24_VERSION" = "x"; then + PYTHON24= + else + PYTHON24_VERSION_MAJOR=`echo $PYTHON24_VERSION | cut -d '.' -f 1` +@@ -22497,7 +22507,7 @@ fi + fi + fi + fi +- if test "x$PYTHON24" == "x"; then ++ if test "x$PYTHON24" = "x"; then + use_python24="No (python2.4 is too old)" + else + PYTHON24_PREFIX=`$PYTHON24 -c "import sys; print sys.prefix"` +@@ -22528,7 +22538,7 @@ fi + fi + fi + fi +- if test "x$use_python24" == "xYes"; then ++ if test "x$use_python24" = "xYes"; then + WITH_PYTHON24_TRUE= + WITH_PYTHON24_FALSE='#' + else +@@ -22592,11 +22602,11 @@ $as_echo "no" >&6; } + fi + + +- if test "x$PYTHON25" == "x"; then ++ if test "x$PYTHON25" = "x"; then + use_python25="No (python25 not available)" + else + PYTHON25_VERSION=`$PYTHON25 -V 2>&1 | $EGREP Python | cut -d ' ' -f 2` +- if test "x$PYTHON25_VERSION" == "x"; then ++ if test "x$PYTHON25_VERSION" = "x"; then + PYTHON25= + else + PYTHON25_VERSION_MAJOR=`echo $PYTHON25_VERSION | cut -d '.' -f 1` +@@ -22613,7 +22623,7 @@ fi + fi + fi + fi +- if test "x$PYTHON25" == "x"; then ++ if test "x$PYTHON25" = "x"; then + use_python25="No (python2.5 is too old)" + else + PYTHON25_PREFIX=`$PYTHON25 -c "import sys; print sys.prefix"` +@@ -22644,7 +22654,7 @@ fi + fi + fi + fi +- if test "x$use_python25" == "xYes"; then ++ if test "x$use_python25" = "xYes"; then + WITH_PYTHON25_TRUE= + WITH_PYTHON25_FALSE='#' + else +@@ -22708,11 +22718,11 @@ $as_echo "no" >&6; } + fi + + +- if test "x$PYTHON26" == "x"; then ++ if test "x$PYTHON26" = "x"; then + use_python26="No (python26 not available)" + else + PYTHON26_VERSION=`$PYTHON26 -V 2>&1 | $EGREP Python | cut -d ' ' -f 2` +- if test "x$PYTHON26_VERSION" == "x"; then ++ if test "x$PYTHON26_VERSION" = "x"; then + PYTHON26= + else + PYTHON26_VERSION_MAJOR=`echo $PYTHON26_VERSION | cut -d '.' -f 1` +@@ -22729,7 +22739,7 @@ fi + fi + fi + fi +- if test "x$PYTHON26" == "x"; then ++ if test "x$PYTHON26" = "x"; then + use_python26="No (python2.6 is too old)" + else + PYTHON26_PREFIX=`$PYTHON26 -c "import sys; print sys.prefix"` +@@ -22760,7 +22770,7 @@ fi + fi + fi + fi +- if test "x$use_python26" == "xYes"; then ++ if test "x$use_python26" = "xYes"; then + WITH_PYTHON26_TRUE= + WITH_PYTHON26_FALSE='#' + else +@@ -22824,11 +22834,11 @@ $as_echo "no" >&6; } + fi + + +- if test "x$PYTHON27" == "x"; then ++ if test "x$PYTHON27" = "x"; then + use_python27="No (python27 not available)" + else + PYTHON27_VERSION=`$PYTHON27 -V 2>&1 | $EGREP Python | cut -d ' ' -f 2` +- if test "x$PYTHON27_VERSION" == "x"; then ++ if test "x$PYTHON27_VERSION" = "x"; then + PYTHON27= + else + PYTHON27_VERSION_MAJOR=`echo $PYTHON27_VERSION | cut -d '.' -f 1` +@@ -22845,7 +22855,7 @@ fi + fi + fi + fi +- if test "x$PYTHON27" == "x"; then ++ if test "x$PYTHON27" = "x"; then + use_python27="No (python2.7 is too old)" + else + PYTHON27_PREFIX=`$PYTHON27 -c "import sys; print sys.prefix"` +@@ -22876,7 +22886,7 @@ fi + fi + fi + fi +- if test "x$use_python27" == "xYes"; then ++ if test "x$use_python27" = "xYes"; then + WITH_PYTHON27_TRUE= + WITH_PYTHON27_FALSE='#' + else +@@ -22983,7 +22993,7 @@ fi + fi + fi + fi +- if test "x$use_r" == "xYes"; then ++ if test "x$use_r" = "xYes"; then + WITH_R_TRUE= + WITH_R_FALSE='#' + else +@@ -23163,17 +23173,17 @@ $as_echo "no" >&6; } + fi + + +- if test "x$RUBY" == "x"; then ++ if test "x$RUBY" = "x"; then + use_ruby="No (ruby not available)" + else + RUBY_CFLAGS="-I`$RUBY $srcdir/config/config_ruby.rb archdir`" + # hack for powerpc-darwin8 (10.4) +- if test "x$DARWIN" == "xyes"; then ++ if test "x$DARWIN" = "xyes"; then + RUBY_CFLAGS=`echo $RUBY_CFLAGS | sed 's/powerpc/universal/'` + fi + RUBY_LIBS="-L`$RUBY $srcdir/config/config_ruby.rb lib` `$RUBY -rrbconfig -e \"puts Config::CONFIG['LIBRUBYARG_SHARED']\"`" + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb vendorarchdir`" +- if test "x$RUBY_INSTALL_DIR" == "x"; then ++ if test "x$RUBY_INSTALL_DIR" = "x"; then + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb sitearchdir`" + fi + save_CPPFLAGS=$CPPFLAGS +@@ -23233,17 +23243,17 @@ $as_echo "no" >&6; } + fi + + +- if test "x$RUBY" == "x"; then ++ if test "x$RUBY" = "x"; then + use_ruby="No (ruby not available)" + else + RUBY_CFLAGS="-I`$RUBY $srcdir/config/config_ruby.rb archdir`" + # hack for powerpc-darwin8 (10.4) +- if test "x$DARWIN" == "xyes"; then ++ if test "x$DARWIN" = "xyes"; then + RUBY_CFLAGS=`echo $RUBY_CFLAGS | sed 's/powerpc/universal/'` + fi + RUBY_LIBS="-L`$RUBY $srcdir/config/config_ruby.rb lib` `$RUBY -rrbconfig -e \"puts Config::CONFIG['LIBRUBYARG_SHARED']\"`" + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb vendorarchdir`" +- if test "x$RUBY_INSTALL_DIR" == "x"; then ++ if test "x$RUBY_INSTALL_DIR" = "x"; then + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb sitearchdir`" + fi + save_CPPFLAGS=$CPPFLAGS +@@ -23305,7 +23315,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$RUBY" == "x"; then ++ if test "x$RUBY" = "x"; then + use_ruby="No (ruby not available)" + else + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb vendorarchdir`" +@@ -23412,17 +23422,17 @@ $as_echo "no" >&6; } + fi + + +- if test "x$RUBY" == "x"; then ++ if test "x$RUBY" = "x"; then + use_ruby="No (ruby not available)" + else + RUBY_CFLAGS="-I`$RUBY $srcdir/config/config_ruby.rb archdir`" + # hack for powerpc-darwin8 (10.4) +- if test "x$DARWIN" == "xyes"; then ++ if test "x$DARWIN" = "xyes"; then + RUBY_CFLAGS=`echo $RUBY_CFLAGS | sed 's/powerpc/universal/'` + fi + RUBY_LIBS="-L`$RUBY $srcdir/config/config_ruby.rb lib` `$RUBY -rrbconfig -e \"puts Config::CONFIG['LIBRUBYARG_SHARED']\"`" + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb vendorarchdir`" +- if test "x$RUBY_INSTALL_DIR" == "x"; then ++ if test "x$RUBY_INSTALL_DIR" = "x"; then + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb sitearchdir`" + fi + save_CPPFLAGS=$CPPFLAGS +@@ -23482,17 +23492,17 @@ $as_echo "no" >&6; } + fi + + +- if test "x$RUBY" == "x"; then ++ if test "x$RUBY" = "x"; then + use_ruby="No (ruby not available)" + else + RUBY_CFLAGS="-I`$RUBY $srcdir/config/config_ruby.rb archdir`" + # hack for powerpc-darwin8 (10.4) +- if test "x$DARWIN" == "xyes"; then ++ if test "x$DARWIN" = "xyes"; then + RUBY_CFLAGS=`echo $RUBY_CFLAGS | sed 's/powerpc/universal/'` + fi + RUBY_LIBS="-L`$RUBY $srcdir/config/config_ruby.rb lib` `$RUBY -rrbconfig -e \"puts Config::CONFIG['LIBRUBYARG_SHARED']\"`" + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb vendorarchdir`" +- if test "x$RUBY_INSTALL_DIR" == "x"; then ++ if test "x$RUBY_INSTALL_DIR" = "x"; then + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb sitearchdir`" + fi + save_CPPFLAGS=$CPPFLAGS +@@ -23554,7 +23564,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$RUBY" == "x"; then ++ if test "x$RUBY" = "x"; then + use_ruby="No (ruby not available)" + else + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb vendorarchdir`" +@@ -23605,7 +23615,7 @@ $as_echo "no" >&6; } + fi + + +- if test "x$RUBY" == "x"; then ++ if test "x$RUBY" = "x"; then + use_ruby="No (ruby not available)" + else + RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb vendorarchdir`" +@@ -23621,7 +23631,7 @@ fi + fi + fi + fi +- if test "x$use_ruby" == "xYes"; then ++ if test "x$use_ruby" = "xYes"; then + WITH_RUBY_TRUE= + WITH_RUBY_FALSE='#' + else +@@ -23643,7 +23653,7 @@ if test "x$enable_tcl" != "xyes"; then + use_tcl="No (disabled)" + fi + +-if test "x$use_tcl" == "x"; then ++if test "x$use_tcl" = "x"; then + TCL_VERSION_FOUND=`echo 'puts [info tclversion]' | $TCLSH` + + # can't assume ksh on all architectures +@@ -23680,7 +23690,7 @@ fi + CPPFLAGS=$save_CPPFLAGS + fi + +-if test "x$use_tcl" == "x"; then ++if test "x$use_tcl" = "x"; then + # Some systems don't have Tcl. Don't build + # the Tcl products if we don't have the library. + if test -f ${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}/tclConfig.sh; then +@@ -23707,9 +23717,9 @@ $as_echo "$as_me: WARNING: Unable to fin + TCL_INSTALL_DIR="${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}" + fi + +-if test "x$use_tcl" == "x"; then ++if test "x$use_tcl" = "x"; then + # TCL STUBS support is required +- if test "x${TCL_SUPPORTS_STUBS}" == "x1"; then ++ if test "x${TCL_SUPPORTS_STUBS}" = "x1"; then + use_tcl="Yes" + TCL_CFLAGS="${TCL_CFLAGS} -DUSE_TCL_STUBS" + +@@ -23726,7 +23736,7 @@ fi + + + +- if test "x$use_tcl" == "xYes"; then ++ if test "x$use_tcl" = "xYes"; then + WITH_TCL_TRUE= + WITH_TCL_FALSE='#' + else +@@ -23795,14 +23805,14 @@ $as_echo "$as_me: WARNING: No Tcl. The T + use_tk="No (no tcl)" + fi + +-if test "x$use_tk" == "x"; then ++if test "x$use_tk" = "x"; then + + # Check whether --with-wish was given. + if test "${with_wish+set}" = set; then : + withval=$with_wish; WISH=$withval + fi + +- if test "x$WISH" == "x"; then ++ if test "x$WISH" = "x"; then + for ac_prog in wish8.6 wish8.5 wish8.4 wish8.3 wish + do + # Extract the first word of "$ac_prog", so it can be a program name with args. +@@ -23848,7 +23858,7 @@ fi + test -n "$WISH" && break + done + +- if test "x$WISH" == "x"; then ++ if test "x$WISH" = "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find a wish. The Tk packages will not be built" >&5 + $as_echo "$as_me: WARNING: Unable to find a wish. The Tk packages will not be built" >&2;} + use_tk="No (wish not found)" +@@ -23856,7 +23866,7 @@ $as_echo "$as_me: WARNING: Unable to fin + fi + fi + +-if test "x$use_tk" == "x"; then ++if test "x$use_tk" = "x"; then + #TK_VERSION_FOUND=`echo 'puts [[info tkversion]]' | $WISH` + # + # No such var as tkversion. Use tclversion instead. +@@ -23908,7 +23918,7 @@ done + CPPFLAGS=$save_CPPFLAGS + fi + +-if test "x$use_tk" == "x"; then ++if test "x$use_tk" = "x"; then + # Some systems don't have Tcl. Don't build + # Some systems have Tcl, but not Tk. Don't build + # the Tk products if we don't have the library. +@@ -23935,13 +23945,13 @@ $as_echo "$as_me: WARNING: Unable to fin + fi + fi + +-if test "x$use_tk" == "x"; then ++if test "x$use_tk" = "x"; then + use_tk="Yes" + TK_SUBDIRS="tkstubs tkspline" + else + TK_SUBDIRS="" + fi +- if test "x$use_tk" == "xYes"; then ++ if test "x$use_tk" = "xYes"; then + WITH_TK_TRUE= + WITH_TK_FALSE='#' + else +@@ -23951,7 +23961,7 @@ fi + + + # NB. No TK_SUPPORTS_STUBS set by tkConfig.sh +-if test "${TCL_SUPPORTS_STUBS}" == "1"; then ++if test "${TCL_SUPPORTS_STUBS}" = "1"; then + TK_CFLAGS="${TK_CFLAGS} -DUSE_TK_STUBS" + fi + +@@ -24005,7 +24015,7 @@ else + tk_checkSocket=1 + fi + +-if test "$tk_checkSocket" == 1; then ++if test "$tk_checkSocket" = 1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5 + $as_echo_n "checking for main in -lsocket... " >&6; } + if ${ac_cv_lib_socket_main+:} false; then : +@@ -24043,7 +24053,7 @@ else + fi + + fi +-if test "$tk_checkBoth" == 1; then ++if test "$tk_checkBoth" = 1; then + tk_oldLibs=$LIBS + LIBS="$LIBS -lsocket -lnsl" + ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept" +@@ -24239,7 +24249,7 @@ fi + LDFLAGS=$save_LDFLAGS + CPPFLAGS=$save_CPPFLAGS + fi +-if test "x$use_expat" == "x"; then ++if test "x$use_expat" = "x"; then + use_expat="Yes" + + cat >>confdefs.h <<_ACEOF +@@ -24338,7 +24348,7 @@ fi + LDFLAGS=$save_LDFLAGS + CPPFLAGS=$save_CPPFLAGS + fi +-if test "x$use_devil" == "x"; then ++if test "x$use_devil" = "x"; then + use_devil="Yes" + + cat >>confdefs.h <<_ACEOF +@@ -24349,7 +24359,7 @@ _ACEOF + + fi + +- if test "x$use_devil" == "xYes"; then ++ if test "x$use_devil" = "xYes"; then + WITH_DEVIL_TRUE= + WITH_DEVIL_FALSE='#' + else +@@ -24531,7 +24541,7 @@ else + WITH_XAW_FALSE= + fi + +-if test "x$with_xaw" == "xno"; then ++if test "x$with_xaw" = "xno"; then + if test "x$no_x" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Lefty cannot be built" >&5 + $as_echo "$as_me: WARNING: Lefty cannot be built" >&2;} +@@ -24719,7 +24729,7 @@ _ACEOF + + fi + fi +- if test "x$use_webp" == "xYes"; then ++ if test "x$use_webp" = "xYes"; then + WITH_WEBP_TRUE= + WITH_WEBP_FALSE='#' + else +@@ -24824,7 +24834,7 @@ _ACEOF + + fi + fi +- if test "x$use_poppler" == "xYes"; then ++ if test "x$use_poppler" = "xYes"; then + WITH_POPPLER_TRUE= + WITH_POPPLER_FALSE='#' + else +@@ -24929,7 +24939,7 @@ _ACEOF + + fi + fi +- if test "x$use_rsvg" == "xYes"; then ++ if test "x$use_rsvg" = "xYes"; then + WITH_RSVG_TRUE= + WITH_RSVG_FALSE='#' + else +@@ -24962,7 +24972,7 @@ else + fi + + +- if test "x$use_ghostscript" == "x"; then ++ if test "x$use_ghostscript" = "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgs" >&5 + $as_echo_n "checking for main in -lgs... " >&6; } + if ${ac_cv_lib_gs_main+:} false; then : +@@ -24999,7 +25009,7 @@ else + use_ghostscript="No (missing lib)" + fi + +- if test "x$use_ghostscript" == "x"; then ++ if test "x$use_ghostscript" = "x"; then + use_ghostscript="Yes" + + cat >>confdefs.h <<_ACEOF +@@ -25012,7 +25022,7 @@ _ACEOF + fi + fi + fi +- if test "x$use_ghostscript" == "xYes"; then ++ if test "x$use_ghostscript" = "xYes"; then + WITH_GS_TRUE= + WITH_GS_FALSE='#' + else +@@ -25035,9 +25045,9 @@ if test "x$with_visio" != "xyes"; then + use_visio="No (disabled by default - experimental)" + else + # AC_CHECK_HEADER(visio/visio.h, VISIO_CFLAGS="",use_visio="No (missing headers)") +-# if test "x$use_visio" == "x"; then ++# if test "x$use_visio" = "x"; then + # AC_CHECK_LIB(visio, main, VISIO_LIBS="-lgs", use_visio="No (missing lib)") +-# if test "x$use_visio" == "x"; then ++# if test "x$use_visio" = "x"; then + use_visio="Yes" + + cat >>confdefs.h <<_ACEOF +@@ -25049,7 +25059,7 @@ _ACEOF + # fi + # fi + fi +- if test "x$use_visio" == "xYes"; then ++ if test "x$use_visio" = "xYes"; then + WITH_VISIO_TRUE= + WITH_VISIO_FALSE='#' + else +@@ -25155,7 +25165,7 @@ _ACEOF + + fi + fi +- if test "x$use_pangocairo" == "xYes"; then ++ if test "x$use_pangocairo" = "xYes"; then + WITH_PANGOCAIRO_TRUE= + WITH_PANGOCAIRO_FALSE='#' + else +@@ -25165,7 +25175,7 @@ fi + + + # see if pango uses a fontconfig/freetype2 backend +-if test "x$use_pangocairo" == "xYes"; then ++if test "x$use_pangocairo" = "xYes"; then + save_LIBS=$LIBS + + pkg_failed=no +@@ -25374,7 +25384,7 @@ _ACEOF + fi + fi + fi +- if test "x$use_lasi" == "xYes"; then ++ if test "x$use_lasi" = "xYes"; then + WITH_LASI_TRUE= + WITH_LASI_FALSE='#' + else +@@ -25479,7 +25489,7 @@ _ACEOF + + fi + fi +- if test "x$use_glitz" == "xYes"; then ++ if test "x$use_glitz" = "xYes"; then + WITH_GLITZ_TRUE= + WITH_GLITZ_FALSE='#' + else +@@ -25581,8 +25591,8 @@ fi + fi + + # pkgconfig for freetype2 did not exist in redhat[78] +-if test "x$use_freetype" == "x"; then +- if test "x$FREETYPE_DIR" == "xyes"; then ++if test "x$use_freetype" = "x"; then ++ if test "x$FREETYPE_DIR" = "xyes"; then + # Extract the first word of "freetype-config", so it can be a program name with args. + set dummy freetype-config; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +@@ -25682,7 +25692,7 @@ $as_echo "$as_me: WARNING: freetype libr + fi + fi + +-if test "x$use_freetype" == "xYes"; then ++if test "x$use_freetype" = "xYes"; then + + cat >>confdefs.h <<_ACEOF + #define HAVE_FREETYPE2 1 +@@ -25691,7 +25701,7 @@ _ACEOF + + + fi +- if test "x$ue_freetype" == "xYes"; then ++ if test "x$ue_freetype" = "xYes"; then + WITH_FREETYPE2_TRUE= + WITH_FREETYPE2_FALSE='#' + else +@@ -25793,8 +25803,8 @@ fi + fi + + # just in case pkgconfig for fontconfig does not exist +-if test "x$use_fontconfig" == "x"; then +- if test "x$FONTCONFIG_DIR" == "xyes"; then ++if test "x$use_fontconfig" = "x"; then ++ if test "x$FONTCONFIG_DIR" = "xyes"; then + # Extract the first word of "fontconfig-config", so it can be a program name with args. + set dummy fontconfig-config; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +@@ -25894,7 +25904,7 @@ $as_echo "$as_me: WARNING: fontconfig li + fi + fi + +-if test "x$use_fontconfig" == "xYes"; then ++if test "x$use_fontconfig" = "xYes"; then + + cat >>confdefs.h <<_ACEOF + #define HAVE_FONTCONFIG 1 +@@ -25903,7 +25913,7 @@ _ACEOF + + + fi +- if test "x$use_fontconfig" == "xYes"; then ++ if test "x$use_fontconfig" = "xYes"; then + WITH_FONTCONFIG_TRUE= + WITH_FONTCONFIG_FALSE='#' + else +@@ -26008,7 +26018,7 @@ _ACEOF + + fi + fi +- if test "x$use_gdk_pixbuf" == "xYes"; then ++ if test "x$use_gdk_pixbuf" = "xYes"; then + WITH_GDK_PIXBUF_TRUE= + WITH_GDK_PIXBUF_FALSE='#' + else +@@ -26113,7 +26123,7 @@ _ACEOF + + fi + fi +- if test "x$use_gtk" == "xYes"; then ++ if test "x$use_gtk" = "xYes"; then + WITH_GTK_TRUE= + WITH_GTK_FALSE='#' + else +@@ -26218,7 +26228,7 @@ _ACEOF + + fi + fi +- if test "x$use_gtkgl" == "xYes"; then ++ if test "x$use_gtkgl" = "xYes"; then + WITH_GTKGL_TRUE= + WITH_GTKGL_FALSE='#' + else +@@ -26323,7 +26333,7 @@ _ACEOF + + fi + fi +- if test "x$use_gtkglext" == "xYes"; then ++ if test "x$use_gtkglext" = "xYes"; then + WITH_GTKGLEXT_TRUE= + WITH_GTKGLEXT_FALSE='#' + else +@@ -26428,7 +26438,7 @@ _ACEOF + + fi + fi +- if test "x$use_gts" == "xYes"; then ++ if test "x$use_gts" = "xYes"; then + WITH_GTS_TRUE= + WITH_GTS_FALSE='#' + else +@@ -26533,7 +26543,7 @@ _ACEOF + + fi + fi +- if test "x$use_glade" == "xYes"; then ++ if test "x$use_glade" = "xYes"; then + WITH_GLADE_TRUE= + WITH_GLADE_FALSE='#' + else +@@ -26638,7 +26648,7 @@ _ACEOF + + fi + fi +- if test "x$use_ming" == "xYes"; then ++ if test "x$use_ming" = "xYes"; then + WITH_MING_TRUE= + WITH_MING_FALSE='#' + else +@@ -26858,7 +26868,7 @@ fi + use_qt="No (qmake not found)" + fi + fi +- if test "x$use_qt" == "xYes"; then ++ if test "x$use_qt" = "xYes"; then + WITH_QT_TRUE= + WITH_QT_FALSE='#' + else +@@ -26895,7 +26905,7 @@ _ACEOF + use_quartz="No (missing ApplicationServices.framework)" + fi + fi +- if test "x$use_quartz" == "xYes"; then ++ if test "x$use_quartz" = "xYes"; then + WITH_QUARTZ_TRUE= + WITH_QUARTZ_FALSE='#' + else +@@ -26908,7 +26918,7 @@ fi + + # Check whether --with-platformsdkincludedir was given. + if test "${with_platformsdkincludedir+set}" = set; then : +- withval=$with_platformsdkincludedir; PLATFORMSDKINCLUDE=$withval; PLATFORMSDKINCLUDE_ESCAPED=${PLATFORMSDKINCLUDE//'\\'/\\\\}; PLATFORMSDKINCLUDE_ESCAPED=${PLATFORMSDKINCLUDE_ESCAPED// /\\ } ++ withval=$with_platformsdkincludedir; PLATFORMSDKINCLUDE=$withval; PLATFORMSDKINCLUDE_ESCAPED=`echo ${PLATFORMSDKINCLUDE} | sed "s/'\\'/\\\\/g" | sed "s/ /\\ /g"` + fi + + +@@ -26955,7 +26965,7 @@ _ACEOF + $as_echo "$as_me: WARNING: --with-gdiplus requires valid --with-platformsdkincludedir and --with-platformsdklibdir." >&2;} + fi + fi +- if test "x$use_gdiplus" == "xYes"; then ++ if test "x$use_gdiplus" = "xYes"; then + WITH_GDIPLUS_TRUE= + WITH_GDIPLUS_FALSE='#' + else +@@ -26978,7 +26988,7 @@ if test "x$with_libgd" != "xyes"; then + use_gd="No (disabled)" + fi + +-if test "x$use_gd" == "x"; then ++if test "x$use_gd" = "x"; then + # Extract the first word of "gdlib-config", so it can be a program name with args. + set dummy gdlib-config; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +@@ -27027,28 +27037,28 @@ fi + GD_MINORVERSION=`$GDLIB_CONFIG --minorversion` + GD_REVISION=`$GDLIB_CONFIG --revision` + for f in `$GDLIB_CONFIG --features` ; do +- if test "$f" == "GD_PNG"; then ++ if test "$f" = "GD_PNG"; then + + cat >>confdefs.h <<_ACEOF + #define HAVE_GD_PNG 1 + _ACEOF + + fi +- if test "$f" == "GD_JPEG"; then ++ if test "$f" = "GD_JPEG"; then + + cat >>confdefs.h <<_ACEOF + #define HAVE_GD_JPEG 1 + _ACEOF + + fi +- if test "$f" == "GD_XPM"; then ++ if test "$f" = "GD_XPM"; then + + cat >>confdefs.h <<_ACEOF + #define HAVE_GD_XPM 1 + _ACEOF + + fi +- if test "$f" == "GD_FONTCONFIG"; then ++ if test "$f" = "GD_FONTCONFIG"; then + HAVE_GD_FONTCONFIG=1 + + cat >>confdefs.h <<_ACEOF +@@ -27056,7 +27066,7 @@ cat >>confdefs.h <<_ACEOF + _ACEOF + + fi +- if test "$f" == "GD_FREETYPE"; then ++ if test "$f" = "GD_FREETYPE"; then + HAVE_GD_FREETYPE=1 + + cat >>confdefs.h <<_ACEOF +@@ -27064,21 +27074,21 @@ cat >>confdefs.h <<_ACEOF + _ACEOF + + fi +- if test "$f" == "GD_GIF"; then ++ if test "$f" = "GD_GIF"; then + + cat >>confdefs.h <<_ACEOF + #define HAVE_GD_GIF 1 + _ACEOF + + fi +- if test "$f" == "GD_GIFANIM"; then ++ if test "$f" = "GD_GIFANIM"; then + + cat >>confdefs.h <<_ACEOF + #define HAVE_GD_GIFANIM 1 + _ACEOF + + fi +- if test "$f" == "GD_OPENPOLYGON"; then ++ if test "$f" = "GD_OPENPOLYGON"; then + + cat >>confdefs.h <<_ACEOF + #define HAVE_GD_OPENPOLYGON 1 +@@ -27087,11 +27097,11 @@ _ACEOF + fi + done + +- if test "x$HAVE_GD_FONTCONFIG" == "x"; then ++ if test "x$HAVE_GD_FONTCONFIG" = "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your libgd was not built with freetype support. This may result in problems displaying fonts." >&5 + $as_echo "$as_me: WARNING: Your libgd was not built with freetype support. This may result in problems displaying fonts." >&2;} + fi +- if test "x$HAVE_GD_FREETYPE" == "x"; then ++ if test "x$HAVE_GD_FREETYPE" = "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your libgd was not built with fontconfig support. This may result in problems resolving fonts." >&5 + $as_echo "$as_me: WARNING: Your libgd was not built with fontconfig support. This may result in problems resolving fonts." >&2;} + fi +@@ -27124,19 +27134,19 @@ $as_echo "$as_me: WARNING: GD library ve + $as_echo "$as_me: WARNING: GD gdlib-config not found" >&2;} + fi + # prevent explicit use of -I/usr/include as it breaks mingw cross-compiles +- if test "x$GD_INCLUDES" == "x-I/usr/include"; then ++ if test "x$GD_INCLUDES" = "x-I/usr/include"; then + GD_INCLUDES=""; + fi + # prevent explicit use of -L/usr/lib or -L/usr/lib64, unnecessary clutter +- if test "x$GD_LDFLAGS" == "x-L/usr/lib"; then ++ if test "x$GD_LDFLAGS" = "x-L/usr/lib"; then + GD_LDFLAGS=""; + fi +- if test "x$GD_LDFLAGS" == "x-L/usr/lib64"; then ++ if test "x$GD_LDFLAGS" = "x-L/usr/lib64"; then + GD_LDFLAGS=""; + fi + +- if test "x$use_gd" == "x"; then +- if test "x$with_libgd" == "xyes"; then ++ if test "x$use_gd" = "x"; then ++ if test "x$with_libgd" = "xyes"; then + # see if we can use the external gd lib + save_CPPFLAGS=$CPPFLAGS + save_LDFLAGS=$LDFLAGS +@@ -27168,7 +27178,7 @@ $as_echo "$as_me: WARNING: Optional GD l + fi + + +- if test "x$use_gd" == "x"; then ++ if test "x$use_gd" = "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgd" >&5 + $as_echo_n "checking for main in -lgd... " >&6; } + if ${ac_cv_lib_gd_main+:} false; then : +@@ -27225,7 +27235,7 @@ fi + + + fi +- if test "x$with_libgd" == "xyes"; then ++ if test "x$with_libgd" = "xyes"; then + WITH_LIBGD_TRUE= + WITH_LIBGD_FALSE='#' + else +@@ -27378,15 +27388,15 @@ TCL_PKGINDEX="" + TCL_PKGINDEX_GD="" + TCL_PKGINDEX_SWIG="" + TK_PKGINDEX="" +-if test "$use_tcl" == "Yes"; then ++if test "$use_tcl" = "Yes"; then + TCL_PKGINDEX="tcldot/pkgIndex.tcl tclpathplan/pkgIndex.tcl" +- if test "x$with_libgd" == "xyes"; then ++ if test "x$with_libgd" = "xyes"; then + TCL_PKGINDEX_GD="gdtclft/pkgIndex.tcl" + fi + if test "x$SWIG" != "x"; then + TCL_PKGINDEX_SWIG="gv/pkgIndex.tcl" + fi +- if test "$use_tk" == "Yes"; then ++ if test "$use_tk" = "Yes"; then + TK_PKGINDEX="tkspline/pkgIndex.tcl" + fi + fi +@@ -27415,7 +27425,7 @@ cat >>confdefs.h <<_ACEOF + _ACEOF + + fi +- if test "x$use_sfdp" == "xYes"; then ++ if test "x$use_sfdp" = "xYes"; then + WITH_SFDP_TRUE= + WITH_SFDP_FALSE='#' + else +@@ -27473,7 +27483,7 @@ _ACEOF + + fi + fi +- if test "x$use_smyrna" == "xYes"; then ++ if test "x$use_smyrna" = "xYes"; then + WITH_SMYRNA_TRUE= + WITH_SMYRNA_FALSE='#' + else +@@ -27504,7 +27514,7 @@ cat >>confdefs.h <<_ACEOF + _ACEOF + + fi +- if test "x$use_cgraph" == "xYes"; then ++ if test "x$use_cgraph" = "xYes"; then + WITH_CGRAPH_TRUE= + WITH_CGRAPH_FALSE='#' + else +@@ -27533,7 +27543,7 @@ cat >>confdefs.h <<_ACEOF + _ACEOF + + fi +- if test "x$use_ortho" == "xYes"; then ++ if test "x$use_ortho" = "xYes"; then + WITH_ORTHO_TRUE= + WITH_ORTHO_FALSE='#' + else +@@ -27590,7 +27600,7 @@ _ACEOF + + fi + fi +- if test "x$use_ipsepcola" == "xYes"; then ++ if test "x$use_ipsepcola" = "xYes"; then + WITH_IPSEPCOLA_TRUE= + WITH_IPSEPCOLA_FALSE='#' + else +@@ -31136,7 +31148,7 @@ else + use_gv_tcl="Yes" + fi + if test "x$use_gd" != "xYes"; then +- if test "x$use_gd" == "xYes (internal)"; then ++ if test "x$use_gd" = "xYes (internal)"; then + use_gdtclft="Yes" + else + use_gdtclft="No (gd not available)" diff --git a/graphics/graphviz/patches/patch-aa b/graphics/graphviz/patches/patch-configure.ac index 391af4848dc..524f0641ebc 100644 --- a/graphics/graphviz/patches/patch-aa +++ b/graphics/graphviz/patches/patch-configure.ac @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.14 2011/10/18 22:34:06 sbd Exp $ +$NetBSD: patch-configure.ac,v 1.1 2013/09/06 21:30:00 wiz Exp $ ---- configure.ac.orig 2010-01-26 16:00:29.000000000 +0000 +--- configure.ac.orig 2013-08-01 17:35:15.000000000 +0000 +++ configure.ac -@@ -83,13 +83,24 @@ AC_SUBST(GVPLUGIN_VERSION) +@@ -83,13 +83,24 @@ AC_SUBST([GVPLUGIN_VERSION]) GRAPHVIZ_VERSION_BUILD=0 GRAPHVIZ_VERSION_REVISION=0 case "${host_os}" in @@ -34,13 +34,13 @@ $NetBSD: patch-aa,v 1.14 2011/10/18 22:34:06 sbd Exp $ @@ -101,7 +112,7 @@ case "${host_os}" in *linux* ) case "${host_cpu}" in - powerpc64 | s390x | x86_64 ) + powerpc64 | s390x | x86_64 | sparc64 ) - LIBPOSTFIX="64" + LIBPOSTFIX="" ;; esac ;; -@@ -802,7 +813,7 @@ else +@@ -880,7 +891,7 @@ else LUA_VERSION=`$PKGCONFIG --modversion lua$l` LUA_INCLUDES="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l` LUA_LIBS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l` @@ -48,8 +48,8 @@ $NetBSD: patch-aa,v 1.14 2011/10/18 22:34:06 sbd Exp $ + LUA_INSTALL_DIR="${PREFIX}/lib$LIBPOSTFIX/lua/`$PKGCONFIG --variable=V lua`" pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null` - if test "x$?" = "x0"; then -@@ -824,7 +835,7 @@ else + if test "x$?" == "x0"; then +@@ -902,7 +913,7 @@ else LUA_INCLUDES=`$LUACONFIG --include` LUA_LIBS=`$LUACONFIG --libs` LUA_VERSION="5.0.x" @@ -58,7 +58,7 @@ $NetBSD: patch-aa,v 1.14 2011/10/18 22:34:06 sbd Exp $ fi fi -@@ -914,8 +925,8 @@ else +@@ -992,8 +1003,8 @@ else use_ocaml="No (ocaml not available)" else AC_CHECK_PROG(OCAML_OPT,ocamlopt,ocamlopt) @@ -69,8 +69,8 @@ $NetBSD: patch-aa,v 1.14 2011/10/18 22:34:06 sbd Exp $ save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $OCAML_INCLUDES" AC_CHECK_HEADER(caml/mlvalues.h,[ -@@ -1008,13 +1019,13 @@ else - if test "x$PHP" = "x"; then +@@ -1086,13 +1097,13 @@ else + if test "x$PHP" == "x"; then use_php="No (php not available)" else - if test -d /usr/include/php5; then @@ -88,7 +88,7 @@ $NetBSD: patch-aa,v 1.14 2011/10/18 22:34:06 sbd Exp $ PHP_LIBS= save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $PHP_INCLUDES" -@@ -2325,7 +2336,7 @@ dnl INCLUDES and LIBS for PLATFORMSDK +@@ -2571,7 +2582,7 @@ dnl INCLUDES and LIBS for PLATFORMSDK AC_ARG_WITH(platformsdkincludedir, [AS_HELP_STRING([--with-platformsdkincludedir=DIR],[use Platform SDK (Windows) includes from DIR])], @@ -97,20 +97,7 @@ $NetBSD: patch-aa,v 1.14 2011/10/18 22:34:06 sbd Exp $ AC_ARG_WITH(platformsdklibdir, [AS_HELP_STRING([--with-platformsdklibdir=DIR],[use Platform SDK (Windows) libraries from DIR])], -@@ -2896,10 +2907,12 @@ AC_MSG_CHECKING(if have working sincos() - AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include <stdio.h> - #include <assert.h> -+ #include <time.h> - #define PI 3.14159265358979323846 - extern void sincos(double x, double *s, double *c); - int main () { - double sinx=0.0, cosx=1.0; -+ sincos(time(NULL)&1,&sinx,&cosx); - sincos(PI/2.0,&sinx,&cosx); - assert(sinx>0.9999999); - assert(sinx<1.0000001); -@@ -3158,7 +3171,7 @@ else +@@ -3222,7 +3233,7 @@ else use_gv_tcl="Yes" fi if test "x$use_gd" != "xYes"; then diff --git a/graphics/graphviz/patches/patch-ag b/graphics/graphviz/patches/patch-lib_gvc_Makefile.in index 7a4676baf8e..c1eeef6ed9a 100644 --- a/graphics/graphviz/patches/patch-ag +++ b/graphics/graphviz/patches/patch-lib_gvc_Makefile.in @@ -1,4 +1,4 @@ -$NetBSD: patch-ag,v 1.14 2009/05/17 12:55:52 sno Exp $ +$NetBSD: patch-lib_gvc_Makefile.in,v 1.1 2013/09/06 21:30:00 wiz Exp $ --- lib/gvc/Makefile.in.orig 2009-03-13 18:19:15.000000000 +0000 +++ lib/gvc/Makefile.in 2009-04-25 20:20:54.000000000 +0000 @@ -7,7 +7,7 @@ $NetBSD: patch-ag,v 1.14 2009/05/17 12:55:52 sno Exp $ $(top_builddir)/lib/$(GRAPH)/lib$(GRAPH).la \ $(top_builddir)/lib/pathplan/libpathplan.la \ - $(EXPAT_LIBS) $(Z_LIBS) $(MATH_LIBS) -+ $(EXPAT_LIBS) $(Z_LIBS) $(MATH_LIBS) ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS\ ++ $(EXPAT_LIBS) $(Z_LIBS) $(MATH_LIBS) ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} libgvc_la_DEPENDENCIES = $(libgvc_C_la_DEPENDENCIES) EXTRA_DIST = $(man_MANS) $(pdf_DATA) Makefile.old regex_win32.h regex_win32.c gvc.vcproj diff --git a/graphics/graphviz/patches/patch-plugin_gd_Makefile.am b/graphics/graphviz/patches/patch-plugin_gd_Makefile.am new file mode 100644 index 00000000000..9e74088442f --- /dev/null +++ b/graphics/graphviz/patches/patch-plugin_gd_Makefile.am @@ -0,0 +1,12 @@ +$NetBSD: patch-plugin_gd_Makefile.am,v 1.1 2013/09/06 21:30:00 wiz Exp $ + +--- plugin/gd/Makefile.am.orig 2013-08-01 17:35:15.000000000 +0000 ++++ plugin/gd/Makefile.am +@@ -41,6 +41,7 @@ if WITH_LIBGD + libgvplugin_gd_la_LIBADD = \ + $(top_builddir)/lib/gvc/libgvc.la \ + $(top_builddir)/lib/$(GRAPH)/lib$(GRAPH).la \ ++ $(top_builddir)/lib/pathplan/libpathplan.la \ + $(top_builddir)/lib/cdt/libcdt.la @PANGOCAIRO_LIBS@ @GD_LIBS@ @MATH_LIBS@ + libgvplugin_gd_la_DEPENDENCIES = $(top_builddir)/lib/gvc/libgvc.la + diff --git a/graphics/graphviz/patches/patch-plugin_gd_Makefile.in b/graphics/graphviz/patches/patch-plugin_gd_Makefile.in new file mode 100644 index 00000000000..e7e3eb4cfb8 --- /dev/null +++ b/graphics/graphviz/patches/patch-plugin_gd_Makefile.in @@ -0,0 +1,12 @@ +$NetBSD: patch-plugin_gd_Makefile.in,v 1.1 2013/09/06 21:30:00 wiz Exp $ + +--- plugin/gd/Makefile.in.orig 2013-08-01 17:39:16.000000000 +0000 ++++ plugin/gd/Makefile.in +@@ -533,6 +535,7 @@ libgvplugin_gd_la_SOURCES = $(libgvplugi + @WITH_LIBGD_TRUE@libgvplugin_gd_la_LIBADD = \ + @WITH_LIBGD_TRUE@ $(top_builddir)/lib/gvc/libgvc.la \ + @WITH_LIBGD_TRUE@ $(top_builddir)/lib/$(GRAPH)/lib$(GRAPH).la \ ++@WITH_LIBGD_TRUE@ $(top_builddir)/lib/pathplan/libpathplan.la \ + @WITH_LIBGD_TRUE@ $(top_builddir)/lib/cdt/libcdt.la \ + @WITH_LIBGD_TRUE@ @PANGOCAIRO_LIBS@ @GD_LIBS@ @MATH_LIBS@ \ + @WITH_LIBGD_TRUE@ $(am__append_2) |