<!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>[126287] trunk/dports/audio/faust-devel</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/126287">126287</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2014-10-06 20:34:54 -0700 (Mon, 06 Oct 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>faust-devel: update to 0.9.68-20141002 and add httpd and sound2faust (#45241); build for the right archs</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsaudiofaustdevelPortfile">trunk/dports/audio/faust-devel/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/audio/faust-devel/files/</li>
<li><a href="#trunkdportsaudiofaustdevelfilespatcharchitecturehttpdlibsrcMakefilediff">trunk/dports/audio/faust-devel/files/patch-architecture-httpdlib-src-Makefile.diff</a></li>
<li><a href="#trunkdportsaudiofaustdevelfilespatcharchitectureosclibfaustMakefilediff">trunk/dports/audio/faust-devel/files/patch-architecture-osclib-faust-Makefile.diff</a></li>
<li><a href="#trunkdportsaudiofaustdevelfilespatchtoolssound2faustMakefilediff">trunk/dports/audio/faust-devel/files/patch-tools-sound2faust-Makefile.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsaudiofaustdevelPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/audio/faust-devel/Portfile (126286 => 126287)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/faust-devel/Portfile        2014-10-07 03:13:42 UTC (rev 126286)
+++ trunk/dports/audio/faust-devel/Portfile        2014-10-07 03:34:54 UTC (rev 126287)
</span><span class="lines">@@ -5,8 +5,8 @@
</span><span class="cx"> 
</span><span class="cx"> name                    faust-devel
</span><span class="cx"> conflicts               faust faust2-devel
</span><del>-version                 0.9.67-20140722
-git.branch              88fea20c65cb98ace3e8f52da83bd2aac343acc3
</del><ins>+version                 0.9.68-20141002
+git.branch              c1b94c3af34bc98c1e5aa0bc47d08d78aa8a9b0d
</ins><span class="cx"> categories              audio lang
</span><span class="cx"> platforms               darwin
</span><span class="cx"> maintainers             ryandesign
</span><span class="lines">@@ -22,6 +22,16 @@
</span><span class="cx"> fetch.type              git
</span><span class="cx"> git.url                 git://git.code.sf.net/p/faudiostream/code
</span><span class="cx"> 
</span><ins>+depends_build           port:pkgconfig
+
+depends_lib             port:libmicrohttpd \
+                        port:libsndfile \
+                        port:openssl
+
+patchfiles-append       patch-architecture-httpdlib-src-Makefile.diff
+patchfiles-append       patch-architecture-osclib-faust-Makefile.diff
+patchfiles-append       patch-tools-sound2faust-Makefile.diff
+
</ins><span class="cx"> post-patch {
</span><span class="cx">     eval reinplace &quot;s|/usr/local|${prefix}|g&quot; \
</span><span class="cx">         ${worksrcpath}/compiler/parser/enrobage.cpp \
</span><span class="lines">@@ -42,8 +52,16 @@
</span><span class="cx"> 
</span><span class="cx"> variant universal {}
</span><span class="cx"> 
</span><del>-build.args-append       CXX=&quot;${configure.cxx} [get_canonical_archflags cxx]&quot;
</del><ins>+build.args-append       ARCHFLAGS=&quot;[get_canonical_archflags cxx]&quot; \
+                        CXX=&quot;${configure.cxx} [get_canonical_archflags cxx]&quot;
</ins><span class="cx"> 
</span><ins>+post-build {
+    foreach extra {dynamic httpd sound2faust} {
+        build.target    ${extra}
+        portbuild::build_main
+    }
+}
+
</ins><span class="cx"> post-destroot {
</span><span class="cx">     set docdir ${destroot}${prefix}/share/doc/${subport}
</span><span class="cx">     xinstall -d ${docdir}
</span></span></pre></div>
<a id="trunkdportsaudiofaustdevelfilespatcharchitecturehttpdlibsrcMakefilediff"></a>
<div class="addfile"><h4>Added: trunk/dports/audio/faust-devel/files/patch-architecture-httpdlib-src-Makefile.diff (0 => 126287)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/faust-devel/files/patch-architecture-httpdlib-src-Makefile.diff                                (rev 0)
+++ trunk/dports/audio/faust-devel/files/patch-architecture-httpdlib-src-Makefile.diff        2014-10-07 03:34:54 UTC (rev 126287)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+--- architecture/httpdlib/src/Makefile.orig
++++ architecture/httpdlib/src/Makefile
+@@ -55,10 +55,10 @@ dynamic : ../libHTTPDFaust.$(LIB_EXT)
+         ranlib $@

+ ../libHTTPDFaust.dylib :  $(objects)
+-        c++ -dynamiclib $(INSTALL_NAME) $(ARCHFLAGS) $(objects) `pkg-config --libs libmicrohttpd` -o $@
++        $(CXX) -dynamiclib $(INSTALL_NAME) $(ARCHFLAGS) $(objects) `pkg-config --libs libmicrohttpd` -o $@

+ ../libHTTPDFaust.so  :  $(objects)
+-        gcc -shared -fPIC -o $@ $(objects)
++        $(CC) -shared -fPIC -o $@ $(objects)
+         
+ depend :
+         makedepend -fMakefile -w120 -Y -- $(CXXFLAGS) -- $(sources)
</ins></span></pre></div>
<a id="trunkdportsaudiofaustdevelfilespatcharchitectureosclibfaustMakefilediff"></a>
<div class="addfile"><h4>Added: trunk/dports/audio/faust-devel/files/patch-architecture-osclib-faust-Makefile.diff (0 => 126287)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/faust-devel/files/patch-architecture-osclib-faust-Makefile.diff                                (rev 0)
+++ trunk/dports/audio/faust-devel/files/patch-architecture-osclib-faust-Makefile.diff        2014-10-07 03:34:54 UTC (rev 126287)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+--- architecture/osclib/faust/Makefile.orig
++++ architecture/osclib/faust/Makefile
+@@ -59,10 +59,10 @@ CXXFLAGS += -Wno-parentheses -I../oscpack -I../oscpack/osc $(addprefix -I, $(sub
+ all : $(TARGET)

+ libOSCFaust.$(VERSION).dylib : $(objects)
+-        c++ -dynamiclib $(INSTALL_NAME) -compatibility_version $(SOVERSION) -current_version $(VERSION) $(ARCHFLAGS) $(objects) -L.. -loscpack -o libOSCFaust.$(VERSION).dylib
++        $(CXX) -dynamiclib $(INSTALL_NAME) -compatibility_version $(SOVERSION) -current_version $(VERSION) $(ARCHFLAGS) $(objects) -L.. -loscpack -o libOSCFaust.$(VERSION).dylib

+ libOSCFaust.so.$(VERSION) : $(objects)
+-        c++ -shared -Wl,-soname,$(SONAME) -fPIC $(ARCHFLAGS) $(objects) -L.. -loscpack -o libOSCFaust.so.$(VERSION)
++        $(CXX) -shared -Wl,-soname,$(SONAME) -fPIC $(ARCHFLAGS) $(objects) -L.. -loscpack -o libOSCFaust.so.$(VERSION)

+ libOSCFaust.a : $(objects)
+         rm -f $@
</ins></span></pre></div>
<a id="trunkdportsaudiofaustdevelfilespatchtoolssound2faustMakefilediff"></a>
<div class="addfile"><h4>Added: trunk/dports/audio/faust-devel/files/patch-tools-sound2faust-Makefile.diff (0 => 126287)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/faust-devel/files/patch-tools-sound2faust-Makefile.diff                                (rev 0)
+++ trunk/dports/audio/faust-devel/files/patch-tools-sound2faust-Makefile.diff        2014-10-07 03:34:54 UTC (rev 126287)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+--- tools/sound2faust/Makefile.orig
++++ tools/sound2faust/Makefile
+@@ -13,11 +13,11 @@ endif

+ sound2faust : sound2faust.cpp

+-        g++ -O3 sound2faust.cpp -I../../architecture `pkg-config --cflags --static --libs sndfile` -o sound2faust $(LIBS)
++        $(CXX) -O3 sound2faust.cpp -I../../architecture `pkg-config --cflags --static --libs sndfile` -o sound2faust $(LIBS)

+ static:

+-        g++ -O3 sound2faust.cpp -I../../architecture `pkg-config --cflags  sndfile`  /usr/local/lib/libsndfile.a -o sound2faust
++        $(CXX) -O3 sound2faust.cpp -I../../architecture `pkg-config --cflags  sndfile`  /usr/local/lib/libsndfile.a -o sound2faust

+ install :

</ins></span></pre>
</div>
</div>

</body>
</html>