summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2009-03-02 11:24:58 +0000
committertron <tron@pkgsrc.org>2009-03-02 11:24:58 +0000
commite579d771333e4318dbacfc034823437ba4e03532 (patch)
tree91f15068af23ab93dba8bcb3165e2e2ab5a79c1a /graphics
parent0eafc290364086d60262206bd750dd720a6acd8d (diff)
downloadpkgsrc-e579d771333e4318dbacfc034823437ba4e03532.tar.gz
Fix more problems in borked recent update:
1.) Add binary and manual page symlinks which "CHECK_FILES" didn't catch on my system as there were already present from previous installs. Problem noted by Hasso Tepper in private e-mail. 2.) Stop the install phase from creating "/usr/lib/lua/5.1" and writing files to it. Bump package revision again because of these fixes.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/graphviz/Makefile10
-rw-r--r--graphics/graphviz/PLIST12
-rw-r--r--graphics/graphviz/distinfo6
-rw-r--r--graphics/graphviz/patches/patch-aa24
-rw-r--r--graphics/graphviz/patches/patch-ab30
5 files changed, 65 insertions, 17 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 431eec1554a..25c2d4c8ebc 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.68 2009/03/01 21:58:53 tron Exp $
+# $NetBSD: Makefile,v 1.69 2009/03/02 11:24:58 tron Exp $
DISTNAME= graphviz-2.20.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.graphviz.org/pub/graphviz/stable/SOURCES/
@@ -61,9 +61,11 @@ BUILDLINK_TRANSFORM+= rm:-Wno-unused-parameter
pre-build:
touch ${WRKSRC}/Makefile
-# Remove file created by re-linking "libgv_lua.la".
+# Remove temporary files and directories created by re-linking "libgv_lua.la".
post-install:
- ${RM} -f ${PREFIX}/lib/graphviz/lua/gv.so
+ ${RM} -rf ${PREFIX}/lib/graphviz/lua/gv.so \
+ ${PREFIX}/lib/graphviz/tcl/tcl ${PREFIX}/lib/lua/5.1/gv.so
+ ${RMDIR} ${PREFIX}/lib/lua/5.1 ${PREFIX}/lib/lua || ${TRUE}
.include "options.mk"
diff --git a/graphics/graphviz/PLIST b/graphics/graphviz/PLIST
index de2d6d2c580..f7e1754212a 100644
--- a/graphics/graphviz/PLIST
+++ b/graphics/graphviz/PLIST
@@ -1,7 +1,12 @@
-@comment $NetBSD: PLIST,v 1.27 2009/03/01 21:58:53 tron Exp $
+@comment $NetBSD: PLIST,v 1.28 2009/03/02 11:24:58 tron Exp $
bin/acyclic
bin/bcomps
bin/ccomps
+bin/circo
+bin/dot2gxl
+bin/fdp
+bin/neato
+bin/twopi
bin/dijkstra
bin/dot
bin/dotty
@@ -79,6 +84,11 @@ man/man1/prune.1
man/man1/sccmap.1
man/man1/tred.1
man/man1/unflatten.1
+man/man1/circo.1
+man/man1/dot2gxl.1
+man/man1/fdp.1
+man/man1/neato.1
+man/man1/twopi.1
man/man3/agraph.3
man/man3/cdt.3
man/man3/cgraph.3
diff --git a/graphics/graphviz/distinfo b/graphics/graphviz/distinfo
index 8e19c9df382..e625fefdfec 100644
--- a/graphics/graphviz/distinfo
+++ b/graphics/graphviz/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.32 2009/03/01 21:58:53 tron Exp $
+$NetBSD: distinfo,v 1.33 2009/03/02 11:24:58 tron Exp $
SHA1 (graphviz-2.20.3.tar.gz) = 63ae6bdb6b410387477d339225cc4f61c2bc7322
RMD160 (graphviz-2.20.3.tar.gz) = 64c80f3af55668e487f911132407c332c3c38e87
Size (graphviz-2.20.3.tar.gz) = 13381532 bytes
-SHA1 (patch-aa) = fa1bf1e617a0a5fe061cfea71cfbe64a33168d86
-SHA1 (patch-ab) = 44dfdec30508583afaa1d44d4bda54341290356b
+SHA1 (patch-aa) = f724a5512192aca3e6fdc645729a185790b71d9a
+SHA1 (patch-ab) = f9e4f61d13b1fe88dc56a17225f6bff6dc6e5dcd
SHA1 (patch-ag) = 4b89f087ba96d29b92a1b8c46e3ac041039df459
SHA1 (patch-aj) = 0adc177fb7c3e654cf46560a8c91e2712bc7d16a
SHA1 (patch-ak) = 91133de18229d2165be392c790a504547a3adf64
diff --git a/graphics/graphviz/patches/patch-aa b/graphics/graphviz/patches/patch-aa
index b6ae57bdc77..2ec094b0ddc 100644
--- a/graphics/graphviz/patches/patch-aa
+++ b/graphics/graphviz/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.9 2009/03/01 21:58:54 tron Exp $
+$NetBSD: patch-aa,v 1.10 2009/03/02 11:24:58 tron Exp $
---- configure.ac.orig 2008-10-07 18:40:07.000000000 +0000
-+++ configure.ac 2009-02-26 19:14:19.000000000 +0000
+--- configure.ac.orig 2008-10-07 19:40:07.000000000 +0100
++++ configure.ac 2009-03-02 11:04:39.000000000 +0000
@@ -23,17 +23,30 @@
AC_SUBST(GRAPHVIZ_VERSION_MINOR)
AC_SUBST(GRAPHVIZ_VERSION_MICRO)
@@ -52,3 +52,21 @@ $NetBSD: patch-aa,v 1.9 2009/03/01 21:58:54 tron Exp $
case "${CC}" in
*icc* )
# -Wall causes relocation errors with icc
+@@ -753,7 +767,7 @@
+ 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
+@@ -775,7 +789,7 @@
+ 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
+
diff --git a/graphics/graphviz/patches/patch-ab b/graphics/graphviz/patches/patch-ab
index d9654533589..ea9022b8baa 100644
--- a/graphics/graphviz/patches/patch-ab
+++ b/graphics/graphviz/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.15 2009/02/28 13:19:46 drochner Exp $
+$NetBS$
---- configure.orig 2008-10-08 01:54:55.000000000 +0200
-+++ configure
-@@ -2402,18 +2402,26 @@ GRAPHVIZ_VERSION_MICRO=3
+--- configure.orig 2008-10-08 00:54:55.000000000 +0100
++++ configure 2009-03-02 11:03:05.000000000 +0000
+@@ -2402,18 +2402,26 @@
@@ -41,7 +41,7 @@ $NetBSD: patch-ab,v 1.15 2009/02/28 13:19:46 drochner Exp $
-@@ -6457,6 +6465,9 @@ if test "${GCC}" != "yes" ; then
+@@ -6457,6 +6465,9 @@
;;
*-sgi-irix* )
;;
@@ -51,7 +51,25 @@ $NetBSD: patch-ab,v 1.15 2009/02/28 13:19:46 drochner Exp $
esac
else
case "${CC}" in
-@@ -34814,10 +34825,6 @@ fi
+@@ -26311,7 +26322,7 @@
+ 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
+@@ -26375,7 +26386,7 @@
+ 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
+
+@@ -34814,10 +34825,6 @@