<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[137805] trunk/dports/databases/metakit</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/137805">137805</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2015-06-20 05:42:51 -0700 (Sat, 20 Jun 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>metakit: update to 2.4.9.8, now hosted at github; fixes build failure (#48055); use MacPorts Tcl instead of the system version; update homepage; enable tests; install documentation files; take over as maintainer</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsdatabasesmetakitPortfile">trunk/dports/databases/metakit/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/databases/metakit/files/</li>
<li><a href="#trunkdportsdatabasesmetakitfilespatchunixMakefileindiff">trunk/dports/databases/metakit/files/patch-unix-Makefile.in.diff</a></li>
<li><a href="#trunkdportsdatabasesmetakitfilespatchunixconfigurediff">trunk/dports/databases/metakit/files/patch-unix-configure.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsdatabasesmetakitPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/databases/metakit/Portfile (137804 => 137805)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/databases/metakit/Portfile        2015-06-20 12:09:15 UTC (rev 137804)
+++ trunk/dports/databases/metakit/Portfile        2015-06-20 12:42:51 UTC (rev 137805)
</span><span class="lines">@@ -1,26 +1,40 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem 1.0
</span><ins>+PortGroup           github 1.0
</ins><span class="cx"> 
</span><del>-name                        metakit
-version                        2.4.9.3
</del><ins>+github.setup        jcw metakit 2.4.9.8
</ins><span class="cx"> categories                databases
</span><span class="cx"> license                        MIT
</span><del>-maintainers                nomaintainer
</del><ins>+maintainers         ryandesign openmaintainer
</ins><span class="cx"> description                an efficient embedded database library with a small footprint
</span><del>-homepage                http://www.equi4.com/metakit.html
</del><span class="cx"> platforms                darwin
</span><span class="cx"> long_description        Metakit is an efficient embedded database library with a small footprint. It fills the gap between flat-file, relational, object-oriented, and tree-structured databases, supporting relational joins, serialization, nested structures, and instant schema evolution.
</span><del>-master_sites                http://www.equi4.com/pub/mk/
-checksums                md5 89a25775fee5db536937f36deb5223f6
-worksrcdir                ${name}-${version}/builds
</del><ins>+
+homepage            http://equi4.com/metakit/
+
+checksums           rmd160  822e134600de16f62f5aaba30b33246c964c6e2e \
+                    sha256  09ea3802ab7382d90b6fc67e3607f87194951d91c24444ab1b5eba267d3b9c00
+
+depends_lib         port:tcl
+
+patchfiles          patch-unix-configure.diff \
+                    patch-unix-Makefile.in.diff
+
+configure.dir       ${worksrcpath}/builds
</ins><span class="cx"> configure.cmd                ../unix/configure
</span><del>-configure.args                --with-tcl=${prefix}
-post-build {
-        system &quot;cp /usr/bin/glibtool ${worksrcpath}/libtool&quot;
-        system &quot;cp ${worksrcpath}/.libs/{libmk4.la,libmk4.lai}&quot;
-}
</del><ins>+configure.args      --with-tcl=${prefix}/include,${prefix}/lib
</ins><span class="cx"> 
</span><del>-platform darwin {
-        configure.args                --with-tcl=/System/Library/Frameworks/Tcl.framework/Headers
</del><ins>+build.dir           ${configure.dir}
+
+test.run            yes
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${subport}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        CHANGES \
+        README \
+        license.terms \
+        ${destroot}${docdir}
</ins><span class="cx"> }
</span></span></pre></div>
<a id="trunkdportsdatabasesmetakitfilespatchunixMakefileindiff"></a>
<div class="addfile"><h4>Added: trunk/dports/databases/metakit/files/patch-unix-Makefile.in.diff (0 => 137805)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/databases/metakit/files/patch-unix-Makefile.in.diff                                (rev 0)
+++ trunk/dports/databases/metakit/files/patch-unix-Makefile.in.diff        2015-06-20 12:42:51 UTC (rev 137805)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+--- unix/Makefile.in.orig        2015-06-18 13:37:38.000000000 -0500
++++ unix/Makefile.in        2015-06-20 07:30:10.000000000 -0500
+@@ -38,6 +38,7 @@

+ CXX_FLAGS = @CPPFLAGS@ @CXXFLAGS@ @MK_THREADS@ @SHLIB_CFLAGS@ \
+                 -I$(srcdir)/../include
++LD_FLAGS = @LDFLAGS@

+ # Compiling without frame pointers can play tricks with exception handling
+ # (e.g. in Mk4py).  This does not affect standard operation, *only* errors.
+@@ -46,6 +47,7 @@
+ CXXFLAGS = $(CXX_FLAGS)
+ #CXXFLAGS = -Dq4_CHECK $(CXX_FLAGS)
+ #CXXFLAGS = -Wall -pedantic -Wno-unused $(CXX_FLAGS)
++LDFLAGS = $(LD_FLAGS)

+ CXX = @CXX@
+ INSTALL = @INSTALL@
+@@ -80,7 +82,7 @@
+         test -d tests || mkdir tests
+         -test -d ../tests/ok/CVS &amp;&amp; (test -d tests/CVS || mkdir tests/CVS)
+         test -f reversed || cp $(srcdir)/reversed .
+-        ./regress
++        DYLD_LIBRARY_PATH=$(top_builddir) ./regress
+         diff --exclude=.svn $(srcdir)/../tests/ok tests

+ test-tcl: tcl
+@@ -135,7 +137,7 @@
+         $(RANLIB) $@

+ libmk4$(SHLIB_SUFFIX): $(LOBJS) $(LINK_SPECIAL_FILES)
+-        $(SHLIB_LD) -o $@ $(LOBJS) $(LINK_SPECIAL_FLAGS) $(LDFLAGS)
++        $(SHLIB_LD) -o $@ $(LOBJS) $(LINK_SPECIAL_FLAGS) $(LDFLAGS) -install_name $(libdir)/$@

+ Mk4tcl$(LIB_SUFFIX): mk4tcl.o mk4too.o $(LOBJS)
+         $(AR) rcu $@ mk4tcl.o mk4too.o $(LOBJS)
+@@ -143,14 +145,14 @@

+ Mk4tcl$(SHLIB_SUFFIX): mk4tcl.o mk4too.o $(LOBJS) $(LINK_SPECIAL_FILES)
+         $(SHLIB_LD) -o $@ mk4tcl.o mk4too.o \
+-                        $(LOBJS) $(LINK_SPECIAL_FLAGS) $(LDFLAGS)
++                        $(LOBJS) $(LINK_SPECIAL_FLAGS) $(LDFLAGS) -install_name $(tcllibdir)/Mk4tcl/$@

+ Mk4py$(LIB_SUFFIX): $(PYOBJS) $(LOBJS)
+         $(AR) cru $@ $(PYOBJS) $(LOBJS)
+         $(RANLIB) $@

+ Mk4py$(SHLIB_SUFFIX): $(PYOBJS) $(LOBJS) $(LINK_SPECIAL_FILES)
+-        $(SHLIB_LD) -o $@ $(PYOBJS) $(LOBJS) $(LINK_SPECIAL_FLAGS) $(LDFLAGS)
++        $(SHLIB_LD) -o $@ $(PYOBJS) $(LOBJS) $(LINK_SPECIAL_FLAGS) $(LDFLAGS) -install_name $(pylibdir)/$@

+ demo: $(srcdir)/../demos/demo.cpp libmk4$(LIBEXT)
+         $(CXX) $(CXX_SWITCHES) -o $@$(EXEEXT) \
</ins></span></pre></div>
<a id="trunkdportsdatabasesmetakitfilespatchunixconfigurediff"></a>
<div class="addfile"><h4>Added: trunk/dports/databases/metakit/files/patch-unix-configure.diff (0 => 137805)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/databases/metakit/files/patch-unix-configure.diff                                (rev 0)
+++ trunk/dports/databases/metakit/files/patch-unix-configure.diff        2015-06-20 12:42:51 UTC (rev 137805)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+--- unix/configure.orig        2015-06-18 13:37:38.000000000 -0500
++++ unix/configure        2015-06-20 06:25:32.000000000 -0500
+@@ -3651,7 +3651,7 @@
+ case $build_os in
+   Darwin*)
+     SHLIB_SUFFIX=&quot;.dylib&quot;
+-    SHLIB_LD=&quot;${CXX} -dynamiclib -flat_namespace -undefined suppress&quot;
++    SHLIB_LD=&quot;${CXX} -dynamiclib -undefined dynamic_lookup&quot;
+     STRIP_FLAGS=-S
+     ;;
+   HP-UX*)
</ins></span></pre>
</div>
</div>

</body>
</html>