<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Thanks Mojca,</div><div><br class=""><blockquote type="cite" class=""><div class="">On 13 Aug 2019, at 03:22, Mojca Miklavec <<a href="mailto:mojca@macports.org" class="">mojca@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Tue, 13 Aug 2019 at 01:24, Gerben Wierda <<a href="mailto:gerben.wierda@rna.nl" class="">gerben.wierda@rna.nl</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">I have my own cloud git directory tree<br class="">I cd to $thattree/net/unbound<br class="">I edit the Portfile (startupitem), set revision to 1 (there was no revision)<br class="">I run sudo port install unbound<br class="">It is not built and installed as nothing has changed (but there has)<br class=""><br class="">What am I forgetting?<br class=""></blockquote><br class="">Did you add your local git checkout to configuration as your local<br class="">repository with higher preference?<br class="">    <a href="https://guide.macports.org/chunked/development.local-repositories.html" class="">https://guide.macports.org/chunked/development.local-repositories.html</a><br class="">Check this with<br class="">    port dir unbound<br class=""></div></div></blockquote><div><br class=""></div><div>I did edit sources.conf. It contains:</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><a href="file:///Users/sysbh/MacPortsDev" class="">file:///Users/sysbh/MacPortsDev</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><a href="rsync://rsync.macports.org/macports/release/tarballs/ports.tar" class="">rsync://rsync.macports.org/macports/release/tarballs/ports.tar</a> [default]</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></div><div>But whatever is in there, port dir unbound gets met the standard repository.</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Albus:nsd sysbh$ port dir unbound</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/net/unbound" class="">rsync.macports.org/macports/release/tarballs/ports/net/unbound</a></span></div></div><div><br class=""></div><div>So, als with</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">file://</span>/Users/sysbh/MacPortsDev/macports-port</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><a href="rsync://rsync.macports.org/macports/release/tarballs/ports.tar" class="">rsync://rsync.macports.org/macports/release/tarballs/ports.tar</a> [default]</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div></div><br class=""><blockquote type="cite" class=""><div class=""><div class="">If not, "sudo port install" or "sudo port upgrade" (without port name)<br class="">or "sudo port install subport=unbound" should take the port from the<br class="">current dir, </div></div></blockquote><div><br class=""></div><div>I edited the Portfile <span style="font-family: Menlo; font-size: 11px;" class="">/Users/sysbh/MacPortsDev/macports-port/net/nsd/Portfile</span> again, set the revision to 6 and ran ’sudo port install’ while in directory <span style="font-family: Menlo; font-size: 11px;" class="">/Users/sysbh/MacPortsDev/macports-port/net/nsd</span> and this worked.</div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div class="">but "sudo port install unbound" will probably take the<br class="">one that's configured globally and returned by "port dir unbound”.<br class=""></div></div></blockquote><div><br class=""></div><div>That seems to be the case.</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Albus:nsd sysbh$ pwd</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/sysbh/MacPortsDev/macports-ports/net/nsd</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Albus:nsd sysbh$ port dir</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/sysbh/MacPortsDev/macports-ports/net/nsd</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Albus:nsd sysbh$ port dir nsd</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/net/nsd" class="">rsync.macports.org/macports/release/tarballs/ports/net/nsd</a></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></div><div>So, if you give the name of the port, it will use the main repository. You need to explicitly not give the name to get the local Portfile. This is somewhat surprising behaviour (for me at last) that I have to leave out the name of the thing to get the thing.</div><div><br class=""></div><div>Now, the only thing I have to do is to find a way to get my local revision back to 1, before I submit the patch. I have installed</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Albus:nsd sysbh$ port installed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The following ports are currently installed:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  expat @2.2.7_0 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  flex @2.6.4_0 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  gettext @0.19.8.1_2 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  libevent @2.1.10_0 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  libiconv @1.16_0 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  m4 @1.4.18_2 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  ncurses @6.1_0 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  nsd @4.1.22_0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  nsd @4.1.22_1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  nsd @4.2.1_0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  nsd @4.2.1_1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  nsd @4.2.1_2</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  nsd @4.2.1_3</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  nsd @4.2.1_5</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  nsd @4.2.1_6 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  openssl @1.0.2s_0 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  unbound @1.9.2_0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  unbound @1.9.2_1 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  zlib @1.2.11_0 (active)</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></div><div>If my update gets accepted, that would mean it would be revision 6. Is that bad? The revisions all come from my local tinkering because I know not how to force a build without changing revision.</div><div><br class=""></div><div>I also want to clean up my installed versions. So nsd becomes</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">  nsd @4.2.1_0</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">  nsd @4.2.1_1 (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div></div><div>with that last one actually the current revision 6. How do I do that?</div><div><br class=""></div><div>G</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Mojca<br class=""></div></div></blockquote></div><br class=""></body></html>