[48129] trunk/dports/lang/pure
ryandesign at macports.org
ryandesign at macports.org
Sat Mar 14 22:41:22 PDT 2009
Revision: 48129
http://trac.macports.org/changeset/48129
Author: ryandesign at macports.org
Date: 2009-03-14 22:41:21 -0700 (Sat, 14 Mar 2009)
Log Message:
-----------
pure: update to 0.19; all tests passed (on Leopard/Intel)
Modified Paths:
--------------
trunk/dports/lang/pure/Portfile
trunk/dports/lang/pure/files/patch-Makefile.in.diff
Removed Paths:
-------------
trunk/dports/lang/pure/files/patch-runtime.cc.diff
Modified: trunk/dports/lang/pure/Portfile
===================================================================
--- trunk/dports/lang/pure/Portfile 2009-03-15 05:12:54 UTC (rev 48128)
+++ trunk/dports/lang/pure/Portfile 2009-03-15 05:41:21 UTC (rev 48129)
@@ -3,8 +3,7 @@
PortSystem 1.0
name pure
-version 0.18
-revision 1
+version 0.19
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
platforms darwin
@@ -26,9 +25,9 @@
hence programs run blazingly fast and interfacing to C modules is easy.
checksums \
- md5 7468f181038943ecdd2c7c061faf8b9c \
- sha1 f4834ccee1c4f8398058cdf599a574b0949dce7f \
- rmd160 f74c0e1e9ee8942052ee2eba3f77ee202eef8d4f
+ md5 e592ef727a8470708e2da480d3bc0546 \
+ sha1 1ac86e6a7ef8bcf184223517a18560e94da4ccdf \
+ rmd160 0efc2163d9f079520457937131b4e231f51271fb
depends_lib \
port:gmp \
@@ -39,7 +38,6 @@
port:readline
patchfiles \
- patch-runtime.cc.diff \
patch-Makefile.in.diff
configure.args \
Modified: trunk/dports/lang/pure/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/lang/pure/files/patch-Makefile.in.diff 2009-03-15 05:12:54 UTC (rev 48128)
+++ trunk/dports/lang/pure/files/patch-Makefile.in.diff 2009-03-15 05:41:21 UTC (rev 48129)
@@ -1,11 +1,11 @@
---- Makefile.in.orig 2009-01-23 04:13:20.000000000 -0600
-+++ Makefile.in 2009-02-01 04:45:09.000000000 -0600
-@@ -232,7 +232,7 @@
- for x in $(srcdir)/lib/*.pure; do $(INSTALL) -m 644 $$x $(DESTDIR)$(libdir)/pure-$(version); done
+--- Makefile.in.orig 2009-03-14 15:45:07.000000000 -0500
++++ Makefile.in 2009-03-15 00:33:04.000000000 -0500
+@@ -251,7 +251,7 @@
+ $(INSTALL) -m 644 pure.html purelib.html $(DESTDIR)$(libdir)/pure-$(version)
ln -sf $(libdir)/pure-$(version) $(DESTDIR)$(libdir)/pure
$(INSTALL) -m 644 $(srcdir)/pure.1 $(DESTDIR)$(man1dir)/pure-$(version).1
- ln -sf $(man1dir)/pure-$(version).1 $(DESTDIR)$(man1dir)/pure.1
+ ln -sf pure-$(version).1 $(DESTDIR)$(man1dir)/pure.1
-
- uninstall:
- rm -rf $(addprefix $(DESTDIR), $(bindir)/pure$(EXE) $(bindir)/pure-$(version)$(EXE) $(libdir)/$(libpurelnk) $(libdir)/$(libpure) $(includedir)/pure $(includedir)/pure-$(version) $(libdir)/pure $(libdir)/pure-$(version) $(man1dir)/pure.1 $(man1dir)/pure-$(version).1)
+ else
+ $(INSTALL) $(srcdir)/runtime.h $(DESTDIR)$(includedir)/pure
+ for x in $(srcdir)/lib/*.pure; do $(INSTALL) -m 644 $$x $(DESTDIR)$(libdir)/pure; done
Deleted: trunk/dports/lang/pure/files/patch-runtime.cc.diff
===================================================================
--- trunk/dports/lang/pure/files/patch-runtime.cc.diff 2009-03-15 05:12:54 UTC (rev 48128)
+++ trunk/dports/lang/pure/files/patch-runtime.cc.diff 2009-03-15 05:41:21 UTC (rev 48129)
@@ -1,43 +0,0 @@
-Added at upstream developer's request; see:
-http://groups.google.com/group/pure-lang/browse_thread/thread/b65046231b7000#anchor_d5f6e4b7f1e27b9e
-Index: runtime.cc
-===================================================================
---- runtime.cc (revision 887)
-+++ runtime.cc (working copy)
-@@ -696,10 +696,33 @@
- // Since we just created this variable, it doesn't have any closure bound
- // to it yet, so it's safe to just return the symbol as is.
- return v.x;
-- } else
-- // The symbol already exists, so there might be a parameterless closure
-- // bound to it and thus we need to evaluate it.
-+ } else {
-+ // The symbol already has a definition, so we might have to evaluate it on
-+ // the fly.
-+ map<int32_t,ExternInfo>::const_iterator it = interp.externals.find(tag);
-+ if (it != interp.externals.end()) {
-+ // We have an external. This case must be treated separately, since v
-+ // just points to a box for the Pure function symbol rather than the
-+ // external wrapper function itself.
-+ const ExternInfo& info = it->second;
-+ size_t n = info.argtypes.size();
-+ void *f = interp.JIT->getPointerToFunction(info.f);
-+ if (f) {
-+ if (n == 0)
-+ // Parameterless external, do a direct call.
-+ return ((pure_expr *(*)(void))f) ();
-+ else
-+ // External with parameters. Build an fbox for the external, return
-+ // this as the value of the symbol.
-+ return pure_clos(false, false, tag, n, f, 0, 0);
-+ }
-+ // If we come here, the external wrapper failed to compile for some
-+ // reason, just proceed as if it was an ordinary Pure function.
-+ }
-+ // We have an ordinary Pure symbol. There might be a parameterless closure
-+ // bound to it, pure_call takes care of that case.
- return pure_call(v.x);
-+ }
- }
-
- extern "C"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090314/513ae986/attachment.html>
More information about the macports-changes
mailing list