[118972] trunk/dports/lang/erlang
ciserlohn at macports.org
ciserlohn at macports.org
Mon Apr 14 01:11:21 PDT 2014
Revision: 118972
https://trac.macports.org/changeset/118972
Author: ciserlohn at macports.org
Date: 2014-04-14 01:11:21 -0700 (Mon, 14 Apr 2014)
Log Message:
-----------
erlang: update to version 17.0
- remove unused patchfiles
- remove obosolete patch
- remove build dependency on perl (see https://lists.macosforge.org/pipermail/macports-dev/2012-December/021280.html; closes #37357)
- adapt livecheck regex to new version scheme
Modified Paths:
--------------
trunk/dports/lang/erlang/Portfile
Removed Paths:
-------------
trunk/dports/lang/erlang/files/patch-erts_emulator_hipe_hipe_amd64.c.diff
trunk/dports/lang/erlang/files/patch-erts_emulator_sys_unix_sys_float.c.diff
trunk/dports/lang/erlang/files/patch-toolbar.erl.diff
Modified: trunk/dports/lang/erlang/Portfile
===================================================================
--- trunk/dports/lang/erlang/Portfile 2014-04-14 05:17:37 UTC (rev 118971)
+++ trunk/dports/lang/erlang/Portfile 2014-04-14 08:11:21 UTC (rev 118972)
@@ -6,12 +6,12 @@
PortGroup compiler_blacklist_versions 1.0
name erlang
-version R16B03-1
+version 17.0
categories lang erlang
maintainers ciserlohn
platforms darwin
license MPL
-license_noconflict perl5
+
description The Erlang Programming Language
long_description Erlang is a programming language designed at the \
Ericsson Computer Science Laboratory. Open-source \
@@ -42,20 +42,19 @@
otp_doc_html_${version}${extract.suffix}
checksums otp_src_${version}.tar.gz \
- rmd160 f7dc6697eb2d451d922caf1fa6f750f1d9b08ff8 \
- sha256 17ce53459bc5ceb34fc2da412e15ac8c23835a15fbd84e62c8d1852704747ee7 \
+ rmd160 7a882f67a9ba262f80c09187f25f50a1c438eadd \
+ sha256 297f2baaa65e5ed1c2492c500fe191bff852217ad57af5da2470a3218c9acadb \
otp_doc_man_${version}.tar.gz \
- rmd160 2563e73743d7a7d16548f4d02e3296a938594e04 \
- sha256 0f31bc7d7215aa4b6834b1a565cd7d6e3173e3b392fb870254bae5136499c39d \
+ rmd160 5cf756bdf8f8b2eb158497eedd1f65c98dbe7f27 \
+ sha256 acf72b5876c6f505191a3fb57b7e672733f911141929c4cef050111cf8f8b399 \
otp_doc_html_${version}.tar.gz \
- rmd160 99a93350988d6184bc8dc829331fa87ce145ccc9 \
- sha256 5381d4ffe654e3e943f004e2b91870bd83f0e46e261bb405c1cdf7de81bc0507
+ rmd160 77fa4efbbce256db9d2fd8bfd1486b1885011a59 \
+ sha256 4a9edba2e5b8ca2e35e5080c1c30a2674aafa39b51d7268383b6e326d397f8dd
pre-patch { file rename ${workpath}/otp_src_${version} ${workpath}/${name}-${version} }
# http://www.erlang.org/pipermail/erlang-bugs/2009-January/001171.html
-patchfiles patch-toolbar.erl.diff \
- patch-erts_emulator_Makefile.in.diff \
+patchfiles patch-erts_emulator_Makefile.in.diff \
patch-erts_configure.diff
configure.args --prefix=${prefix} \
@@ -68,7 +67,7 @@
--without-odbc \
--without-wx
-depends_build port:gawk port:perl5
+depends_build port:gawk
# ${prefix}/lib/erlang/erts-5.8.4/bin/beam.smp links with ncurses
depends_lib port:ncurses
@@ -80,9 +79,9 @@
system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}"
system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}"
- set erts_dir erts-5.10.4
- set erl_interface_dir erl_interface-3.7.15
- set wx_dir wx-1.1.1
+ set erts_dir erts-6.0
+ set erl_interface_dir erl_interface-3.7.16
+ set wx_dir wx-1.2
reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/erl
reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/start
@@ -160,4 +159,4 @@
livecheck.type regex
livecheck.version ${version}
livecheck.url ${homepage}download/
-livecheck.regex "otp_src_(R\[0-9\]+\[AB\]\[0-9\]*(-\[0-9\])?)\\.tar\\.gz"
+livecheck.regex "otp_src_(\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz"
Deleted: trunk/dports/lang/erlang/files/patch-erts_emulator_hipe_hipe_amd64.c.diff
===================================================================
--- trunk/dports/lang/erlang/files/patch-erts_emulator_hipe_hipe_amd64.c.diff 2014-04-14 05:17:37 UTC (rev 118971)
+++ trunk/dports/lang/erlang/files/patch-erts_emulator_hipe_hipe_amd64.c.diff 2014-04-14 08:11:21 UTC (rev 118972)
@@ -1,22 +0,0 @@
---- erts/emulator/hipe/hipe_amd64.c.orig
-+++ erts/emulator/hipe/hipe_amd64.c
-@@ -37,6 +37,10 @@
- #undef ERL_FUN_SIZE
- #include "hipe_literals.h"
-
-+#if defined(__APPLE__) && defined(__MACH__) && !defined(__DARWIN__)
-+#define __DARWIN__ 1
-+#endif
-+
- const Uint sse2_fnegate_mask[2] = {0x8000000000000000,0};
-
- void hipe_patch_load_fe(Uint64 *address, Uint64 value)
-@@ -161,7 +165,7 @@
- MAP_PRIVATE|MAP_ANONYMOUS
- #if defined(MAP_32BIT)
- |MAP_32BIT
--#elif defined(__FreeBSD__) || defined(__sun__)
-+#elif defined(__FreeBSD__) || defined(__sun__) || defined(__DARWIN__)
- |MAP_FIXED
- #endif
- ,
Deleted: trunk/dports/lang/erlang/files/patch-erts_emulator_sys_unix_sys_float.c.diff
===================================================================
--- trunk/dports/lang/erlang/files/patch-erts_emulator_sys_unix_sys_float.c.diff 2014-04-14 05:17:37 UTC (rev 118971)
+++ trunk/dports/lang/erlang/files/patch-erts_emulator_sys_unix_sys_float.c.diff 2014-04-14 08:11:21 UTC (rev 118972)
@@ -1,11 +0,0 @@
---- erts/emulator/sys/unix/sys_float.c.orig
-+++ erts/emulator/sys/unix/sys_float.c
-@@ -490,7 +490,7 @@ static int mask_fpe(void)
- #include <machine/fpu.h>
- #endif
- #if !(defined(__OpenBSD__) && defined(__x86_64__))
--#include <ucontext.h>
-+#include <sys/ucontext.h>
- #endif
- #include <string.h>
-
Deleted: trunk/dports/lang/erlang/files/patch-toolbar.erl.diff
===================================================================
--- trunk/dports/lang/erlang/files/patch-toolbar.erl.diff 2014-04-14 05:17:37 UTC (rev 118971)
+++ trunk/dports/lang/erlang/files/patch-toolbar.erl.diff 2014-04-14 08:11:21 UTC (rev 118972)
@@ -1,20 +0,0 @@
---- lib/toolbar/src/toolbar.erl.sav 2006-05-22 17:04:22.000000000 -0400
-+++ lib/toolbar/src/toolbar.erl 2006-05-22 17:05:07.000000000 -0400
-@@ -38,7 +38,7 @@
- -export([create_tool_file/0,add_gs_contribs/0]).
-
- %
---define (STARTUP_TIMEOUT, 20000).
-+-define (STARTUP_TIMEOUT, 40000).
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-@@ -236,7 +236,7 @@
- about_help ->
- WinObj = toolbar_graphics:get_window(Window),
- Text = ["Help text is on HTML format",
-- "Requires Netscape to be up and running"],
-+ "will be displayed in your default browser"],
- tool_utils:notify(WinObj, Text),
- loop(S,Window,LoopData,TimerRef);
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140414/fdd9d7b6/attachment.html>
More information about the macports-changes
mailing list