pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/erlang Update to Erlang/OTP R13B03.
details: https://anonhg.NetBSD.org/pkgsrc/rev/01b6b2dcbf65
branches: trunk
changeset: 568507:01b6b2dcbf65
user: asau <asau%pkgsrc.org@localhost>
date: Tue Dec 15 12:07:57 2009 +0000
description:
Update to Erlang/OTP R13B03.
SunOS, Java and ODBC support by Filip Hajny
and some tests by Matthias Kretschmer.
Changes in R13B03
-----------------
There are mostly error corrections, but also some new functionality.
Some highlights in the R13B03 release are:
- Native Implemented Functions (NIFs) still experimental but very useful.
- The documentation is built in a new way using xsltproc and Apache FOP.
The layout is changed both in HTML and PDF versions. This is the first
step, more changes and improvements will come in the following releases.
Changes between R13A and R13B02 are unknown.
Changes in R13A
---------------
1.1 Erlang Language and Run-time System
Multi-core and SMP performance improvements
There SMP performance is significantly improved:
- multiple, scheduler specific run queues;
- further optimized message passing;
- CPU-bound scheduler threads.
Unicode support as described in EEP10
New BIF's: atom_to_binary/2, binary_to_atom/2, binary_to_existing_atom/2.
Independent Erlang clusters on the same host
1.2 New Applications
Reltool, release management tool.
WxErlang
1.3 New features in Existing Applications
Common_test
- SSH and SFTP support
- test case groups
Dialyzer
- opaque type declarations;
- UTF segments handling
SSL
- pure Erlang implementation (except crypto routines)
STDLIB
- scanner has been augmented to return white-space, comments
and exact location of tokens.
diffstat:
lang/erlang/Makefile | 55 +-
lang/erlang/Makefile.versions | 111 +-
lang/erlang/PLIST.common | 4001 -----------------------------------------
lang/erlang/PLIST.common_end | 16 -
lang/erlang/PLIST.java | 2 +-
lang/erlang/buildlink3.mk | 16 +-
lang/erlang/distinfo | 32 +-
lang/erlang/options.mk | 33 +-
lang/erlang/patches/patch-aa | 19 -
lang/erlang/patches/patch-ae | 19 +-
lang/erlang/patches/patch-af | 27 +-
lang/erlang/patches/patch-ag | 28 +-
lang/erlang/patches/patch-ah | 35 +-
lang/erlang/patches/patch-ai | 157 +-
14 files changed, 290 insertions(+), 4261 deletions(-)
diffs (truncated from 4703 to 300 lines):
diff -r 8c690735a81f -r 01b6b2dcbf65 lang/erlang/Makefile
--- a/lang/erlang/Makefile Tue Dec 15 11:45:54 2009 +0000
+++ b/lang/erlang/Makefile Tue Dec 15 12:07:57 2009 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.41 2009/03/23 18:30:44 tron Exp $
+# $NetBSD: Makefile,v 1.42 2009/12/15 12:07:57 asau Exp $
-DISTNAME= otp_src_${DIST_VERSION_MAJOR}-${DIST_VERSION_MINOR}
+DISTNAME= otp_src_${DIST_VERSION_MAJOR}${DIST_VERSION_MINOR:D-${DIST_VERSION_MINOR}}
PKGNAME= erlang-${ERLANG_VERSION}
-PKGREVISION= 3
+PKGREVISION= 2
CATEGORIES= lang
-MASTER_SITES= http://erlang.mirror.su.se/download/ \
- http://www.erlang.org/download/
+MASTER_SITES= http://www.erlang.org/download/
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.erlang.org/
@@ -17,36 +16,68 @@
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= yes
+USE_GNU_CONFIGURE_HOST= ${USE_CROSS_COMPILE}
OVERRIDE_DIRDEPTH= 4
USE_TOOLS+= gmake perl:run
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
+###
+### XXX Linking fails on amd64 due to invalid relocations without this.
+###
+CONFIGURE_ARGS+= --enable-dynamic-ssl-lib
+
+PTHREAD_OPTS+= require native
+CONFIGURE_ARGS+= --enable-threads
+
+MAKE_ENV+= DESTDIR=${DESTDIR}
+
SUBST_CLASSES+= target
SUBST_STAGE.target= post-patch
SUBST_FILES.target= make/target.mk
SUBST_SED.target= -e "s|=.*config.guess)|= ${MACHINE_GNU_PLATFORM}|"
SUBST_MESSAGE.target= Fixing target name.
-PLIST_SRC= PLIST.common
+TEST_TARGET= tests
+TEST_MAKE_FLAGS= ERL_TOP=$(WRKSRC)
+REPLACE_PERL+= make/make_emakefile
+
+PLIST_SRC= PLIST
.include "../../mk/bsd.prefs.mk"
+.if exists(${.CURDIR}/PLIST.${OPSYS})
+PLIST_SRC+= ${.CURDIR}/PLIST.${OPSYS}
+.endif
+
.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= --disable-sctp
.endif
+###
+### XXX There may be others here.
+###
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
+CONFIGURE_ARGS+= --enable-kernel-poll
+.endif
.include "options.mk"
-PLIST_SRC+= PLIST.common_end
+.include "Makefile.versions"
-.include "Makefile.versions"
+###
+### Ensure this gets rebuilt.
+###
+pre-build:
+ ${RUN} ${RM} -f ${WRKSRC}/lib/stdlib/ebin/dets_v9.beam
post-install:
- chmod -R go-w ${DESTDIR}${PREFIX}/lib/erlang/lib/kernel-${VERSION.kernel}/examples
- chmod -R go-w ${DESTDIR}${PREFIX}/lib/erlang/lib/ssl-${VERSION.ssl}/examples
- rm ${DESTDIR}${PREFIX}/lib/erlang/lib/observer-${VERSION.observer}/priv/bin/*.bat
- rm ${DESTDIR}${PREFIX}/lib/erlang/lib/webtool-${VERSION.webtool}/priv/bin/*.bat
+ chmod -R go-w ${DESTDIR}${PREFIX}/lib/erlang/lib
+
+# Generate PLIST
+.for _pkg_ _version_ in $(_VERSIONS)
+PRINT_PLIST_AWK+= {if ($$0 ~ /\/$(_pkg_)-$(_version_)\//) {sub(/\/$(_pkg_)-$(_version_)\//,"/$(_pkg_)-$${VERSION.$(_pkg_)}/", $$0);}}
+.endfor
+PRINT_PLIST_AWK+= {if ($$0 ~ /\/releases\/${DIST_VERSION_MAJOR}\//) {sub(/\/releases\/${DIST_VERSION_MAJOR}\//,"/releases/$${VERSION}/", $$0);}}
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
diff -r 8c690735a81f -r 01b6b2dcbf65 lang/erlang/Makefile.versions
--- a/lang/erlang/Makefile.versions Tue Dec 15 11:45:54 2009 +0000
+++ b/lang/erlang/Makefile.versions Tue Dec 15 12:07:57 2009 +0000
@@ -1,60 +1,65 @@
-# $NetBSD: Makefile.versions,v 1.6 2008/01/04 14:05:05 ghen Exp $
+# $NetBSD: Makefile.versions,v 1.7 2009/12/15 12:07:57 asau Exp $
-ERLANG_VERSION= 12.0
-DIST_VERSION_MAJOR= R12B
-DIST_VERSION_MINOR= 0
+ERLANG_VERSION= 13.2.3
+DIST_VERSION_MAJOR= R13B03
+#DIST_VERSION_MINOR= 1
_VERSIONS= \
- appmon 2.1.9 \
- asn1 1.5 \
- common_test 1.3.0 \
- compiler 4.5 \
- cosEvent 2.1.2 \
- cosEventDomain 1.1.2 \
- cosFileTransfer 1.1.4 \
- cosNotification 1.1.6 \
- cosProperty 1.1.5 \
- cosTime 1.1.2 \
- cosTransactions 1.2.3 \
- crypto 1.5.1.1 \
- debugger 3.1.1.1 \
- dialyzer 1.7.1 \
- docbuilder 0.9.7 \
- edoc 0.7.4 \
- erl_interface 3.5.5.3 \
- erts 5.6 \
- et 1.3 \
- gs 1.5.7 \
- hipe 3.6.4 \
- ic 4.2.16 \
- inets 5.0 \
- inviso 0.6 \
+ appmon 2.1.10.2 \
+ asn1 1.6.12 \
+ common_test 1.4.6 \
+ compiler 4.6.4 \
+ cosEvent 2.1.7 \
+ cosEventDomain 1.1.7 \
+ cosFileTransfer 1.1.9 \
+ cosNotification 1.1.12 \
+ cosProperty 1.1.10 \
+ cosTime 1.1.7 \
+ cosTransactions 1.2.8 \
+ crypto 1.6.3 \
+ debugger 3.2.1 \
+ dialyzer 2.1.0 \
+ docbuilder 0.9.8.6 \
+ edoc 0.7.6.5 \
+ erl_docgen 0.1 \
+ erl_interface 3.6.4 \
+ erts 5.7.4 \
+ et 1.3.3 \
+ eunit 2.1.4 \
+ gs 1.5.11 \
+ hipe 3.7.4 \
+ ic 4.2.23 \
+ inets 5.2 \
+ inviso 0.6.1 \
jinterface 1.4 \
- kernel 2.12 \
- megaco 3.7 \
- mnesia 4.4 \
- observer 0.9.7.4 \
- odbc 2.0.9 \
- orber 3.6.8 \
- os_mon 2.1.3 \
- otp_mibs 1.0.4.1 \
- parsetools 1.4.2 \
- percept 0.5.0 \
- pman 2.6 \
- runtime_tools 1.7 \
- sasl 2.1.5.2 \
- snmp 4.10 \
- ssh 0.9.9.3 \
- ssl 3.9 \
- stdlib 1.15 \
- syntax_tools 1.5.3 \
- test_server 3.2.0 \
- toolbar 1.3.0.1 \
- tools 2.6 \
- tv 2.1.4.1 \
- typer 0.1.1 \
- webtool 0.8.3.2 \
- xmerl 1.1.6
+ kernel 2.13.4 \
+ megaco 3.13 \
+ mnesia 4.4.12 \
+ observer 0.9.8.1 \
+ odbc 2.10.6 \
+ orber 3.6.14 \
+ os_mon 2.2.4 \
+ otp_mibs 1.0.6 \
+ parsetools 2.0.1 \
+ percept 0.8.3 \
+ pman 2.7.1 \
+ public_key 0.4 \
+ reltool 0.5.2 \
+ runtime_tools 1.8.2 \
+ sasl 2.1.8 \
+ snmp 4.15 \
+ ssh 1.1.7 \
+ ssl 3.10.7 \
+ stdlib 1.16.4 \
+ syntax_tools 1.6.4 \
+ test_server 3.3.5 \
+ toolbar 1.4.1 \
+ tools 2.6.5 \
+ tv 2.1.4.4 \
+ typer 0.1.7.3 \
+ webtool 0.8.5 \
+ wx 0.98.4 \
+ xmerl 1.2.3
PLIST_SUBST+= VERSION=${DIST_VERSION_MAJOR}
diff -r 8c690735a81f -r 01b6b2dcbf65 lang/erlang/PLIST.common
--- a/lang/erlang/PLIST.common Tue Dec 15 11:45:54 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4001 +0,0 @@
-@comment $NetBSD: PLIST.common,v 1.9 2008/06/21 22:13:09 joerg Exp $
-bin/dialyzer
-bin/epmd
-bin/erl
-bin/erlc
-bin/escript
-bin/run_erl
-bin/to_erl
-bin/typer
-lib/erlang/Install
-lib/erlang/bin/dialyzer
-lib/erlang/bin/epmd
-lib/erlang/bin/erl
-lib/erlang/bin/erlc
-lib/erlang/bin/escript
-lib/erlang/bin/run_erl
-lib/erlang/bin/start
-lib/erlang/bin/start.boot
-lib/erlang/bin/start.script
-lib/erlang/bin/start_clean.boot
-lib/erlang/bin/start_erl
-lib/erlang/bin/start_sasl.boot
-lib/erlang/bin/to_erl
-lib/erlang/bin/typer
-lib/erlang/erts-${VERSION.erts}/bin/beam
-lib/erlang/erts-${VERSION.erts}/bin/child_setup
-lib/erlang/erts-${VERSION.erts}/bin/dialyzer
-lib/erlang/erts-${VERSION.erts}/bin/epmd
-lib/erlang/erts-${VERSION.erts}/bin/erl
-lib/erlang/erts-${VERSION.erts}/bin/erl.src
-lib/erlang/erts-${VERSION.erts}/bin/erlc
-lib/erlang/erts-${VERSION.erts}/bin/erlexec
-lib/erlang/erts-${VERSION.erts}/bin/escript
-lib/erlang/erts-${VERSION.erts}/bin/heart
-lib/erlang/erts-${VERSION.erts}/bin/inet_gethost
-lib/erlang/erts-${VERSION.erts}/bin/run_erl
-lib/erlang/erts-${VERSION.erts}/bin/start
-lib/erlang/erts-${VERSION.erts}/bin/start.src
-lib/erlang/erts-${VERSION.erts}/bin/start_erl.src
-lib/erlang/erts-${VERSION.erts}/bin/to_erl
-lib/erlang/erts-${VERSION.erts}/bin/typer
-lib/erlang/erts-${VERSION.erts}/include/driver_int.h
-lib/erlang/erts-${VERSION.erts}/include/erl_driver.h
-lib/erlang/erts-${VERSION.erts}/include/erl_fixed_size_int_types.h
-lib/erlang/erts-${VERSION.erts}/include/erl_int_sizes_config.h
-lib/erlang/erts-${VERSION.erts}/include/erl_memory_trace_parser.h
-lib/erlang/erts-${VERSION.erts}/include/internal/README
-lib/erlang/erts-${VERSION.erts}/include/internal/erl_memory_trace_protocol.h
-lib/erlang/erts-${VERSION.erts}/include/internal/erl_printf.h
-lib/erlang/erts-${VERSION.erts}/include/internal/erl_printf_format.h
-lib/erlang/erts-${VERSION.erts}/include/internal/ethread.h
-lib/erlang/erts-${VERSION.erts}/include/internal/ethread.mk
-lib/erlang/erts-${VERSION.erts}/include/internal/ethread_header_config.h
-lib/erlang/erts-${VERSION.erts}/include/internal/i386/atomic.h
-lib/erlang/erts-${VERSION.erts}/include/internal/i386/ethread.h
-lib/erlang/erts-${VERSION.erts}/include/internal/i386/rwlock.h
-lib/erlang/erts-${VERSION.erts}/include/internal/i386/spinlock.h
-lib/erlang/erts-${VERSION.erts}/include/internal/ppc32/atomic.h
-lib/erlang/erts-${VERSION.erts}/include/internal/ppc32/ethread.h
-lib/erlang/erts-${VERSION.erts}/include/internal/ppc32/rwlock.h
-lib/erlang/erts-${VERSION.erts}/include/internal/ppc32/spinlock.h
-lib/erlang/erts-${VERSION.erts}/include/internal/sparc32/atomic.h
-lib/erlang/erts-${VERSION.erts}/include/internal/sparc32/ethread.h
-lib/erlang/erts-${VERSION.erts}/include/internal/sparc32/rwlock.h
-lib/erlang/erts-${VERSION.erts}/include/internal/sparc32/spinlock.h
-lib/erlang/erts-${VERSION.erts}/include/internal/x86_64/ethread.h
-lib/erlang/erts-${VERSION.erts}/lib/internal/README
-lib/erlang/erts-${VERSION.erts}/lib/internal/liberts_internal.a
-lib/erlang/erts-${VERSION.erts}/lib/internal/liberts_internal_r.a
-lib/erlang/erts-${VERSION.erts}/lib/internal/libethread.a
-lib/erlang/erts-${VERSION.erts}/lib/liberts.a
-lib/erlang/erts-${VERSION.erts}/lib/liberts_r.a
-lib/erlang/erts-${VERSION.erts}/src/setuid_socket_wrap.c
-lib/erlang/lib/appmon-${VERSION.appmon}/ebin/appmon.app
-lib/erlang/lib/appmon-${VERSION.appmon}/ebin/appmon.appup
-lib/erlang/lib/appmon-${VERSION.appmon}/ebin/appmon.beam
-lib/erlang/lib/appmon-${VERSION.appmon}/ebin/appmon_a.beam
-lib/erlang/lib/appmon-${VERSION.appmon}/ebin/appmon_dg.beam
-lib/erlang/lib/appmon-${VERSION.appmon}/ebin/appmon_info.beam
Home |
Main Index |
Thread Index |
Old Index