<!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>[147227] trunk/dports/devel/libnewt</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/147227">147227</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2016-03-31 10:27:16 -0700 (Thu, 31 Mar 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>libnewt: update to 0.52.19 and fix library install_name</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsdevellibnewtPortfile">trunk/dports/devel/libnewt/Portfile</a></li>
<li><a href="#trunkdportsdevellibnewtfilespatchMakefileindiff">trunk/dports/devel/libnewt/files/patch-Makefile.in.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsdevellibnewtPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libnewt/Portfile (147226 => 147227)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libnewt/Portfile        2016-03-31 16:59:52 UTC (rev 147226)
+++ trunk/dports/devel/libnewt/Portfile        2016-03-31 17:27:16 UTC (rev 147227)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> PortSystem          1.0
</span><span class="cx"> 
</span><span class="cx"> name                libnewt
</span><del>-version             0.52.18
</del><ins>+version             0.52.19
</ins><span class="cx"> categories          devel
</span><span class="cx"> platforms           darwin
</span><span class="cx"> maintainers         ryandesign openmaintainer
</span><span class="lines">@@ -24,8 +24,8 @@
</span><span class="cx"> 
</span><span class="cx"> distname            newt-${version}
</span><span class="cx"> 
</span><del>-checksums           rmd160  8b1fd7e7201ca337dd7df99a39947f14a97b3d6f \
-                    sha256  771b0e634ede56ae6a6acd910728bb5832ac13ddb0d1d27919d2498dab70c91e
</del><ins>+checksums           rmd160  aa914fde11f62086d3ed9f468ab3a5bc7623f6d4 \
+                    sha256  08c0db56c21996af6a7cbab99491b774c6c09cef91cd9b03903c84634bff2e80
</ins><span class="cx"> 
</span><span class="cx"> depends_lib         port:gettext \
</span><span class="cx">                     port:popt \
</span><span class="lines">@@ -41,11 +41,6 @@
</span><span class="cx"> configure.args      --without-python \
</span><span class="cx">                     --libdir=${prefix}/lib
</span><span class="cx"> 
</span><del>-# Fix build with Tcl 8.6+
-configure.cppflags-append   -DUSE_INTERP_RESULT
-
-destroot.destdir    instroot=${destroot}
-
</del><span class="cx"> # configure: WARNING: unrecognized options: --disable-dependency-tracking
</span><span class="cx"> # gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
</span><span class="cx"> universal_variant   no
</span></span></pre></div>
<a id="trunkdportsdevellibnewtfilespatchMakefileindiff"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/libnewt/files/patch-Makefile.in.diff (147226 => 147227)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/libnewt/files/patch-Makefile.in.diff        2016-03-31 16:59:52 UTC (rev 147226)
+++ trunk/dports/devel/libnewt/files/patch-Makefile.in.diff        2016-03-31 17:27:16 UTC (rev 147227)
</span><span class="lines">@@ -1,40 +1,77 @@
</span><del>---- Makefile.in.orig        2013-08-06 10:46:42.000000000 -0500
-+++ Makefile.in        2013-08-06 20:10:49.000000000 -0500
-@@ -5,8 +5,9 @@
- CPP = @CPP@
- CFLAGS = @CFLAGS@
</del><ins>+--- Makefile.in.orig        2016-03-23 10:46:24.000000000 -0500
++++ Makefile.in        2016-03-31 12:21:15.000000000 -0500
+@@ -7,11 +7,16 @@
</ins><span class="cx">  LDFLAGS = @LDFLAGS@
</span><del>--CPPFLAGS = -D_GNU_SOURCE -I/usr/include/slang @CPPFLAGS@ 
-+CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@ 
</del><ins>+ CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@
</ins><span class="cx">  GNU_LD = @GNU_LD@
</span><del>-+UNAME = $(shell uname -s)
</del><ins>++UNAME_S := $(shell uname -s)
</ins><span class="cx">  
</span><span class="cx">  VERSION = @VERSION@
</span><span class="cx">  TAG = r$(subst .,-,$(VERSION))
</span><del>-@@ -35,7 +36,7 @@
</del><ins>+ SONAME = @SONAME@
++ifeq ($(UNAME_S),Darwin)
++SOEXT = dylib
++else
+ SOEXT = so
++endif

+ PYTHONVERS = @PYTHONVERS@
+ WHIPTCLLIB = @WHIPTCLLIB@
+@@ -26,17 +31,28 @@
+ NDIALOGOBJS = whiptail.o dialogboxes.o
+ WHIPTCLOBJS = shared/whiptcl.o shared/dialogboxes.o
+ LIBNEWT = libnewt.a
++ifeq ($(SOEXT),dylib)
++SHARED = -dynamiclib
++LIBNEWTSH = libnewt.$(VERSION).$(SOEXT)
++LIBNEWTSONAME = libnewt.$(SONAME).$(SOEXT)
++else
++SHARED = -shared
+ LIBNEWTSH = libnewt.$(SOEXT).$(VERSION)
+ LIBNEWTSONAME = libnewt.$(SOEXT).$(SONAME)
++endif
+ LIBOBJS = newt.o button.o form.o checkbox.o entry.o label.o listbox.o \
+           scrollbar.o textbox.o scale.o grid.o windows.o buttonbar.o \
+           checkboxtree.o

++ifeq ($(SOEXT),dylib)
++SHLIBFLAGS= -install_name $(libdir)/$(LIBNEWTSONAME) -current_version $(VERSION) -compatibility_version $(SONAME)
++else
</ins><span class="cx">  ifneq ($(GNU_LD),)
</span><span class="cx">  SHLIBFLAGS= -Wl,--version-script,newt.0.52.ver -Wl,-soname,$(LIBNEWTSONAME)
</span><span class="cx">  else
</span><del>--SHLIBFLAGS=
-+SHLIBFLAGS= -install_name $(libdir)/$(LIBNEWTSH) -current_version $(VERSION) -compatibility_version $(SONAME)
</del><ins>+ SHLIBFLAGS=
</ins><span class="cx">  endif
</span><ins>++endif
</ins><span class="cx">  
</span><span class="cx">  SHCFLAGS = -fPIC
</span><del>-@@ -106,7 +107,7 @@
</del><ins>+ 
+@@ -105,8 +121,8 @@
+ whiptail: $(NDIALOGOBJS) $(LIBNEWTSH)
</ins><span class="cx">          $(CC) -g -o whiptail $(NDIALOGOBJS) -L. $(LDFLAGS) -lnewt $(LIBS) -lpopt
</span><span class="cx">  
</span><del>- whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNEWTSH)
</del><ins>+-whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNEWTSH)
</ins><span class="cx"> -        $(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt  $(LIBTCL) -lpopt $(LIBS)
</span><del>-+        $(CC) -dynamiclib $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt  $(LIBTCL) -lpopt $(LIBS)
</del><ins>++$(WHIPTCLSO): $(WHIPTCLOBJS) $(LIBNEWTSH)
++        $(CC) $(SHARED) $(SHCFLAGS) $(LDFLAGS) -o $(WHIPTCLSO) $(WHIPTCLOBJS) -L. -lnewt  $(LIBTCL) -lpopt $(LIBS)
</ins><span class="cx">  
</span><span class="cx">  $(LIBNEWT): $(LIBOBJS)
</span><span class="cx">          ar rv $@ $^
</span><del>-@@ -129,7 +130,7 @@
</del><ins>+@@ -129,7 +145,7 @@
</ins><span class="cx">  sharedlib: $(LIBNEWTSH)
</span><span class="cx">  
</span><span class="cx">  $(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
</span><span class="cx"> -        $(CC) -shared -o $(LIBNEWTSH) $(SHLIBFLAGS) $(SHAREDOBJS) $(LDFLAGS) $(LIBS)
</span><del>-+        $(CC) -dynamiclib -o $(LIBNEWTSH) $(SHLIBFLAGS) $(SHAREDOBJS) $(LDFLAGS) $(LIBS)
</del><ins>++        $(CC) $(SHARED) -o $(LIBNEWTSH) $(SHLIBFLAGS) $(SHAREDOBJS) $(LDFLAGS) $(LIBS)
</ins><span class="cx">          ln -fs $(LIBNEWTSONAME) libnewt.$(SOEXT)
</span><span class="cx">          ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME)
</span><span class="cx">  
</span><ins>+@@ -154,7 +170,7 @@
+         install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir)
+         ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.$(SOEXT)
+         ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/$(LIBNEWTSONAME)
+-        [ -n &quot;$(WHIPTCLSO)&quot; ] &amp;&amp; install -m 755 whiptcl.$(SOEXT) $(instroot)/$(libdir) || :
++        [ -n &quot;$(WHIPTCLSO)&quot; ] &amp;&amp; install -m 755 $(WHIPTCLSO) $(instroot)/$(libdir) || :
+         [ -n &quot;$(PYTHONVERS)&quot; ] &amp;&amp; for ver in $(PYTHONVERS) ; do \
+            [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\
+            install -m 755 $$ver/_snack.$(SOEXT) $(instroot)/$(libdir)/$$ver/site-packages ;\
</ins></span></pre>
</div>
</div>

</body>
</html>