diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2003-09-26 11:46:55 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2003-09-26 11:46:55 +0000 |
commit | 3114b9d27c5ed81432a1cc598ff55cf0eee8f8af (patch) | |
tree | a1b237fdce40e75a296ec5fb22b0b12c1ebc3140 /lang/erlang | |
parent | 77c89c1e4f30bed439a29d02058f2d50a329f287 (diff) |
Notes
Diffstat (limited to 'lang/erlang')
-rw-r--r-- | lang/erlang/Makefile | 2 | ||||
-rw-r--r-- | lang/erlang/files/patch-lib_kernel_src_inet__config.erl | 19 | ||||
-rw-r--r-- | lang/erlang/pkg-message | 4 |
3 files changed, 24 insertions, 1 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index efe5f199653a..c1a21a35ebf8 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -7,7 +7,7 @@ PORTNAME= erlang PORTVERSION= r9c0 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= lang MASTER_SITES= ftp://ftp.erlang.org/pub/download/ \ diff --git a/lang/erlang/files/patch-lib_kernel_src_inet__config.erl b/lang/erlang/files/patch-lib_kernel_src_inet__config.erl new file mode 100644 index 000000000000..362a217ce495 --- /dev/null +++ b/lang/erlang/files/patch-lib_kernel_src_inet__config.erl @@ -0,0 +1,19 @@ + +$FreeBSD$ + +--- lib/kernel/src/inet_config.erl.orig Mon Jul 7 14:06:28 2003 ++++ lib/kernel/src/inet_config.erl Fri Sep 19 14:21:14 2003 +@@ -78,7 +78,12 @@ + error("can't set lookup to native: ~p", [Reason]) + end; + freebsd -> %% we may have to check version (2.2.2) +- load_resolv(filename:join(Etc,"host.conf"), host_conf_freebsd); ++ case os:version() of ++ {Major,_,_} when Major >= 5 -> ++ load_resolv(filename:join(Etc,"nsswitch.conf"), nsswitch_conf); ++ _ -> ++ load_resolv(filename:join(Etc,"host.conf"), host_conf_freebsd) ++ end; + 'bsd/os' -> + load_resolv(filename:join(Etc,"irs.conf"), host_conf_bsdos); + linux -> diff --git a/lang/erlang/pkg-message b/lang/erlang/pkg-message index 97bf3e663e09..1fd1cd3c4338 100644 --- a/lang/erlang/pkg-message +++ b/lang/erlang/pkg-message @@ -1,4 +1,8 @@ =========================================================================== +This package requires a properly configured nsswitch.conf on FreeBSD +5.x, else nameserver queries (and the distribution protocol) will +not work. + Installation tips: You can find an emacs mode for Erlang here: |