<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="">On 13 Aug 2019, at 13:25, Mojca Miklavec <<a href="mailto:mojca@macports.org" class="">mojca@macports.org</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div class="">On Tue, 13 Aug 2019 at 10:25, 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=""><br class=""><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=""><br class=""><br class="">I did edit sources.conf. It contains:<br class=""><br class=""><a href="file:///Users/sysbh/MacPortsDev" class="">file:///Users/sysbh/MacPortsDev</a><br class="">rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]<br class=""><br class="">But whatever is in there, port dir unbound gets met the standard repository.<br class=""><br class="">Albus:nsd sysbh$ port dir unbound<br class="">/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/unbound<br class=""><br class="">So, als with<br class=""><br class="">file:///Users/sysbh/MacPortsDev/macports-port<br class="">rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]<br class=""></blockquote><br class="">Later in the mail you reference "macports-port" with "macports-ports"<br class="">instead. Which one is it?<br class=""></div></div></blockquote><div><br class=""></div><div>The correct one, typo in mail.</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">Also, you need to run "portindex" inside of macports-ports. Just in<br class="">case that you didn't do it already.<br class=""></div></div></blockquote><div><br class=""></div><div>That was it. It was on the manual page for local repositories, but this directory tree was created using git via <a href="https://trac.macports.org/wiki/WorkingWithGit" class="">https://trac.macports.org/wiki/WorkingWithGit</a> where portindex is not mentioned and I was following instructions there when I created the ‘dev’ tree.</div><div><br class=""></div><div>I ran portindex. Since I created a git clone there, that resulted in</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="">Total number of ports parsed:<span class="Apple-tab-span" style="white-space:pre"> </span>21661 </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="">Ports successfully parsed:<span class="Apple-tab-span" style="white-space:pre"> </span>21661 </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="">Ports failed:<span class="Apple-tab-span" style="white-space:pre"> </span>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="">Up-to-date ports skipped:<span class="Apple-tab-span" style="white-space:pre"> </span>0</span></div></div><div><br class=""></div>And all the ports are now the ones in my git clone. That is not what I want. Preferably, I would want all the ports to be the default ones, except for the ones I’m working on myself. Is that possible? And how do I get there from the situation I’m in now?</div><div><br class=""></div><div>My guess would be:</div><div>- re-run portindex in the official tree /opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports" class="">rsync.macports.org/macports/release/tarballs/ports</a></div><div>- run portindex in de nsd and unbound subdirectories of /Users/sysbh/MacPortsDev/macports-port</div><div><br class=""></div><div>Correct?</div><div><br class=""></div><div>G</div><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Mojca<br class=""></div></div></blockquote></div><br class=""></body></html>