<div dir="ltr">Good point. This does work, but for simplicity I'll fix that.<div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 9, 2017 at 1:49 PM, Ryan Schmidt <span dir="ltr"><<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Nov 9, 2017, at 13:48, David Strubbe wrote:<br>
<br>
> David Strubbe (dstrubbe) pushed a commit to branch master<br>
> in repository macports-ports.<br>
><br>
><br>
> <a href="https://github.com/macports/macports-ports/commit/56629ccf60547e60dd565a772473ff776b81a40a" rel="noreferrer" target="_blank">https://github.com/macports/<wbr>macports-ports/commit/<wbr>56629ccf60547e60dd565a772473ff<wbr>776b81a40a</a><br>
><br>
> The following commit(s) were added to refs/heads/master by this push:<br>
><br>
> new 56629cc quantum-espresso: Fix destroot phase by patching Makefile for DESTDIR. Trying to replace --prefix in configure line does not work.<br>
><br>
> new bab984c Merge branch 'master' of <a href="https://github.com/macports/macports-ports" rel="noreferrer" target="_blank">https://github.com/macports/<wbr>macports-ports</a><br>
><br>
> 56629cc is described below<br>
><br>
><br>
> commit 56629ccf60547e60dd565a772473ff<wbr>776b81a40a<br>
><br>
> Author: David Strubbe <<a href="mailto:dstrubbe@macports.org">dstrubbe@macports.org</a>><br>
> AuthorDate: Thu Nov 9 11:47:35 2017 -0800<br>
><br>
><br>
> quantum-espresso: Fix destroot phase by patching Makefile for DESTDIR. Trying to replace --prefix in configure line does not work.<br>
<br>
> +@@ -267,11 +272,11 @@<br>
> + ##############################<wbr>###########################<br>
> +<br>
> + install : touch-dummy<br>
> +- @if test -d bin ; then mkdir -p $(PREFIX)/bin ; \<br>
> ++ @if test -d bin ; then mkdir -p $(DESTDIR)/$(PREFIX)/bin ; \<br>
> + for x in `find * ! -path "test-suite/*" -name *.x -type f` ; do \<br>
> +- cp $$x $(PREFIX)/bin/ ; done ; \<br>
> ++ cp $$x $(DESTDIR)/$(PREFIX)/bin/ ; done ; \<br>
> + fi<br>
> +- @echo 'Quantum ESPRESSO binaries installed in $(PREFIX)/bin'<br>
> ++ @echo 'Quantum ESPRESSO binaries installed in $(DESTDIR)/$(PREFIX)/bin'<br>
> +<br>
> + ##############################<wbr>###########################<br>
> + # Run test-suite for numerical regression testing<br>
<br>
<br>
$(PREFIX) already begins with a slash so you should not put another one in front of it.<br>
<br>
</blockquote></div><br></div>