<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 11, 2016 at 11:51 AM, JASON TILLEY <span dir="ltr"><<a href="mailto:jdtilley@aol.com" target="_blank">jdtilley@aol.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">I am attempting to create my first port in a local repository. I can get it to configure, but it seems to be having trouble installing into destroot. I get the error:<div><br></div><div><font face="Courier">for i in libnn.a; do \<br><span style="white-space:pre-wrap">        </span> /usr/bin/install -c -m 644 $i /opt/local/lib/$i; \</font></div></div></blockquote></div><br>It's not installing into the destroot, it's installing to the final destination. This is incorrect and prevents making prebuilt packages, and may mess up the buildbot. It should be installing to the destroot tree, usually by specifying <font face="monospace, monospace">DESTDIR=$destroot</font> to the install phase (this is the convention used by most Linux package managers, which also work this way). See <a href="https://guide.macports.org/#reference.phases.introduction">https://guide.macports.org/#reference.phases.introduction</a>.<br><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>