summaryrefslogtreecommitdiff
path: root/graphics/graphviz
diff options
context:
space:
mode:
authordholland <dholland>2013-10-30 06:22:04 +0000
committerdholland <dholland>2013-10-30 06:22:04 +0000
commite70aed269d52a987a8b479e4d289ab81ae679cd0 (patch)
tree1edca9996908c5915adaa905d4bf671a4a8f6d45 /graphics/graphviz
parent92dee3faa69b20bb02a0981f49ea5f6b27119b50 (diff)
downloadpkgsrc-e70aed269d52a987a8b479e4d289ab81ae679cd0.tar.gz
Does not build with lua51. It isn't clear to me if this is a serious
problem or a makefile glitch, as libtool is involved and everything is very opaque as a result. Also, use REPLACE_LUA.
Diffstat (limited to 'graphics/graphviz')
-rw-r--r--graphics/graphviz/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 5cf21125ee7..87069f18ddd 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.130 2013/10/10 14:42:14 ryoon Exp $
+# $NetBSD: Makefile,v 1.131 2013/10/30 06:22:04 dholland Exp $
DISTNAME= graphviz-2.34.0
PKGREVISION= 1
@@ -43,10 +43,11 @@ PKGCONFIG_OVERRIDE+= lib/pathplan/libpathplan.pc.in
PKGCONFIG_OVERRIDE+= lib/xdot/libxdot.pc.in
XAW_TYPE= standard
-REPLACE_INTERPRETER+= lua
-REPLACE.lua.old= .*lua
-REPLACE.lua.new= ${PREFIX}/bin/lua
-REPLACE_FILES.lua= tclpkg/gv/demo/modgraph.lua
+# With lua51 there's a PLIST divergence and it isn't obvious whether
+# it's serious or not, or what causes it.
+LUA_VERSIONS_INCOMPATIBLE= 51
+
+REPLACE_LUA+= tclpkg/gv/demo/modgraph.lua
REPLACE_INTERPRETER+= tclsh
REPLACE.tclsh.old= .*tclsh
@@ -76,6 +77,8 @@ post-install:
.include "options.mk"
+.include "../../lang/lua/application.mk"
+
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"