summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Kowis2007-04-04 16:50:35 -0700
committerJeremy Blosser2007-04-28 14:48:28 -0500
commit8436130500900023eda1019a11fe78984013d4a3 (patch)
treec628ed2e2abd0c62d0cea4dc577b4e33e338bf7e
parent72420e1b3dbdd9b6deb8b1022d1bf5f7dfd453b9 (diff)
graphviz
Making it build at least ... (cherry picked from commit 6a7fb9532e71b6a2b5aa77a75606c412a6515755)
-rwxr-xr-xdevel/graphviz/BUILD5
-rwxr-xr-xdevel/graphviz/DEPENDS8
-rw-r--r--devel/graphviz/HISTORY5
-rw-r--r--devel/graphviz/diffimg.patch16
4 files changed, 31 insertions, 3 deletions
diff --git a/devel/graphviz/BUILD b/devel/graphviz/BUILD
index 8659aa4770..52abaec9aa 100755
--- a/devel/graphviz/BUILD
+++ b/devel/graphviz/BUILD
@@ -4,6 +4,9 @@
# Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts need installing? : Times-Roman
# This patch removes said hack.
patch -p1 < $SCRIPT_DIRECTORY/no_postscript_alias.diff &&
+cd $SOURCE_DIRECTORY/contrib/diffimg &&
+patch -p0 < $SCRIPT_DIRECTORY/diffimg.patch &&
+cd $SOURCE_DIRECTORY &&
find -name Makefile.in | while read _LINE; do
sedit "s|html/info|$SPELL|g" "$_LINE"
@@ -12,4 +15,6 @@ if ! spell_ok tcl; then
sedit 's|tclsh|#tclsh|g' tclpkg/gv/Makefile.in &&
sedit 's|\<gv_\w\+\.man\>||g' tclpkg/gv/Makefile.in
fi &&
+cd ${SOURCE_DIRECTORY} &&
+./autogen.sh &&
default_build
diff --git a/devel/graphviz/DEPENDS b/devel/graphviz/DEPENDS
index 5744606273..fc66ec3b94 100755
--- a/devel/graphviz/DEPENDS
+++ b/devel/graphviz/DEPENDS
@@ -1,6 +1,8 @@
-depends zlib &&
-depends libpng &&
-depends jpeg &&
+depends autoconf &&
+depends automake &&
+depends zlib &&
+depends libpng &&
+depends jpeg &&
# for ps2pdf
depends POSTSCRIPT-INTERPRETER &&
diff --git a/devel/graphviz/HISTORY b/devel/graphviz/HISTORY
index 94c2e45aae..62aa5c957f 100644
--- a/devel/graphviz/HISTORY
+++ b/devel/graphviz/HISTORY
@@ -1,3 +1,8 @@
+2007-04-04 David Kowis <dkowis@shlrm.org>
+ * BUILD: included a makefile patch for diffimg and run the autoregen
+ * DEPENDS: added dependencies on auto* for the regen
+ * diffimg.patch: patch to make diffimg build
+
2007-01-31 Treeve Jelbert <treeve@pi.be>
* DETAILS: version 2.12
diff --git a/devel/graphviz/diffimg.patch b/devel/graphviz/diffimg.patch
new file mode 100644
index 0000000000..2421a33dfe
--- /dev/null
+++ b/devel/graphviz/diffimg.patch
@@ -0,0 +1,16 @@
+--- Makefile.orig 2007-04-04 16:13:16.000000000 -0700
++++ Makefile.am 2007-04-04 16:14:13.000000000 -0700
+@@ -12,11 +12,13 @@
+ diffimg_SOURCES = diffimg.c
+
+ if WITH_LIBGD
++if WITH_MYLIBGD
+ diffimg_LDADD = $(top_builddir)/lib/gd/libgvgd_C.la \
+ @FC_LIBS@ @FT_LIBS@ @JPEG_LIBS@ @PNG_LIBS@ @Z_LIBS@ @MATH_LIBS@
+ else
+ diffimg_LDADD = @GD_LIBS@
+ endif
++endif
+
+ GRAPH = "digraph G { hello -> world }"
+