aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2005-07-30 21:06:15 +0800
committerolgeni <olgeni@FreeBSD.org>2005-07-30 21:06:15 +0800
commit300e143e9d697bcc65c72b2f2779261c4102cf03 (patch)
tree3c356707667c98580729406961b6b138cb568488 /devel
parent2aa0b8e497cedb9321dd9617c8030cd508c9a6dd (diff)
downloadfreebsd-ports-gnome-300e143e9d697bcc65c72b2f2779261c4102cf03.tar.gz
freebsd-ports-gnome-300e143e9d697bcc65c72b2f2779261c4102cf03.tar.zst
freebsd-ports-gnome-300e143e9d697bcc65c72b2f2779261c4102cf03.zip
Upgrade to version 1.3.0.
Diffstat (limited to 'devel')
-rw-r--r--devel/dialyzer/Makefile3
-rw-r--r--devel/dialyzer/distinfo4
-rw-r--r--devel/dialyzer/files/patch-src_dialyzer__gui.erl25
-rw-r--r--devel/dialyzer/files/patch-src_dialyzer__plt.erl23
-rw-r--r--devel/dialyzer/pkg-plist9
5 files changed, 30 insertions, 34 deletions
diff --git a/devel/dialyzer/Makefile b/devel/dialyzer/Makefile
index a70a48c23925..edfec47a989f 100644
--- a/devel/dialyzer/Makefile
+++ b/devel/dialyzer/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dialyzer
-PORTVERSION= 1.2.0
+PORTVERSION= 1.3.0
CATEGORIES= devel
MASTER_SITES= http://www.it.uu.se/research/group/hipe/dialyzer/snapshots/
@@ -16,7 +16,6 @@ COMMENT= Static analysis tool for Erlang/OTP applications
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
-IGNORE= does not work with lang/erlang R10B-4
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/devel/dialyzer/distinfo b/devel/dialyzer/distinfo
index 0e209348bf60..d8d95eeb789a 100644
--- a/devel/dialyzer/distinfo
+++ b/devel/dialyzer/distinfo
@@ -1,2 +1,2 @@
-MD5 (dialyzer-1.2.0.tar.gz) = ed2bb42a7628f57950ca146e041a5f99
-SIZE (dialyzer-1.2.0.tar.gz) = 33017
+MD5 (dialyzer-1.3.0.tar.gz) = 767dec3592ccac76febcc361ac95ef9e
+SIZE (dialyzer-1.3.0.tar.gz) = 34734
diff --git a/devel/dialyzer/files/patch-src_dialyzer__gui.erl b/devel/dialyzer/files/patch-src_dialyzer__gui.erl
deleted file mode 100644
index 5ed6444f2e02..000000000000
--- a/devel/dialyzer/files/patch-src_dialyzer__gui.erl
+++ /dev/null
@@ -1,25 +0,0 @@
-
-$FreeBSD$
-
---- src/dialyzer_gui.erl.orig
-+++ src/dialyzer_gui.erl
-@@ -489,8 +489,8 @@
- {'EXIT', BackendPid, Reason} when Reason /= normal ->
- error(State, Reason),
- gui_loop(State);
-- Other ->
-- io:format("Received ~p\n", [Other]),
-+ _Other ->
-+ %% io:format("Received ~p\n", [Other]),
- gui_loop(State)
- end.
-
-@@ -1019,7 +1019,7 @@
- ReAnalyze =
- case filelib:is_file(Plt) of
- true ->
-- case dets:open_file(Plt) of
-+ case dets:open_file(Plt,[{access,read}]) of
- {ok, Dets} ->
- Res =
- case dets:lookup(Dets, md5) of
diff --git a/devel/dialyzer/files/patch-src_dialyzer__plt.erl b/devel/dialyzer/files/patch-src_dialyzer__plt.erl
new file mode 100644
index 000000000000..29fb8d472b7b
--- /dev/null
+++ b/devel/dialyzer/files/patch-src_dialyzer__plt.erl
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- src/dialyzer_plt.erl.orig
++++ src/dialyzer_plt.erl
+@@ -43,7 +43,7 @@
+
+ from_dets(Name, Dets) ->
+ Plt = new(Name),
+- {ok, D} = dets:open_file(Dets, []),
++ {ok, D} = dets:open_file(Dets, [{access, read}]),
+ true = ets:from_dets(Plt, D),
+ ok = dets:close(D),
+ Plt.
+@@ -59,7 +59,7 @@
+ MD5 = compute_md5(),
+ case filelib:is_file(?INIT_PLT) andalso dets:is_dets_file(?INIT_PLT) of
+ true ->
+- case dets:open_file(?INIT_PLT, []) of
++ case dets:open_file(?INIT_PLT, [{access, read}]) of
+ {ok, Dets} ->
+ Res =
+ case dets:lookup(Dets, md5) of
diff --git a/devel/dialyzer/pkg-plist b/devel/dialyzer/pkg-plist
index 8eb22b8ff61c..bad7fb97617d 100644
--- a/devel/dialyzer/pkg-plist
+++ b/devel/dialyzer/pkg-plist
@@ -13,7 +13,6 @@ lib/erlang/lib/dialyzer-%%VERSION%%/ebin/dialyzer_gui.beam
lib/erlang/lib/dialyzer-%%VERSION%%/ebin/dialyzer_module_callgraph.beam
lib/erlang/lib/dialyzer-%%VERSION%%/ebin/dialyzer_options.beam
lib/erlang/lib/dialyzer-%%VERSION%%/ebin/dialyzer_plt.beam
-lib/erlang/lib/dialyzer-%%VERSION%%/plt/dialyzer_empty_plt
lib/erlang/lib/dialyzer-%%VERSION%%/src/dialyzer.app.src
lib/erlang/lib/dialyzer-%%VERSION%%/src/dialyzer.erl
lib/erlang/lib/dialyzer-%%VERSION%%/src/dialyzer.hrl
@@ -27,11 +26,11 @@ lib/erlang/lib/dialyzer-%%VERSION%%/src/dialyzer_options.erl
lib/erlang/lib/dialyzer-%%VERSION%%/src/dialyzer_plt.erl
lib/erlang/lib/dialyzer-%%VERSION%%/src/hipe_icode_type.hrl
@dirrm lib/erlang/lib/dialyzer-%%VERSION%%/src
-@dirrm lib/erlang/lib/dialyzer-%%VERSION%%/plt
@dirrm lib/erlang/lib/dialyzer-%%VERSION%%/ebin
@dirrm lib/erlang/lib/dialyzer-%%VERSION%%/doc
-@dirrm lib/erlang/lib/dialyzer-%%VERSION%%
+@unexec rmdir %D/lib/erlang/lib/dialyzer-%%VERSION%%/plt >/dev/null 2>&1 || true
+@unexec rmdir %D/lib/erlang/lib/dialyzer-%%VERSION%% >/dev/null 2>&1 || true
@exec ln -sf dialyzer-%%VERSION%% %D/lib/erlang/lib/dialyzer
-@unexec rm -f %D/lib/erlang/lib/dialyzer 2>&1 >/dev/null || true
+@unexec rm -f %D/lib/erlang/lib/dialyzer >/dev/null 2>&1 || true
@exec ln -sf %D/lib/erlang/lib/dialyzer-%%VERSION%%/dialyzer %D/bin/dialyzer
-@unexec rm %D/bin/dialyzer 2>&1 >/dev/null || true
+@unexec rm %D/bin/dialyzer >/dev/null 2>&1 || true