<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Ryan,<div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Mar 27, 2018, at 8:44 AM, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class="">On Mar 27, 2018, at 08:39, Marius Schamschula wrote:<br class=""><br class=""><blockquote type="cite" class="">Marius Schamschula (Schamschula) pushed a commit to branch master<br class="">in repository macports-ports.<br class=""><br class=""><br class=""><a href="https://github.com/macports/macports-ports/commit/94a0268cc3d8b7a46705b71c7f94a72255249587" class="">https://github.com/macports/macports-ports/commit/94a0268cc3d8b7a46705b71c7f94a72255249587</a><br class=""><br class="">The following commit(s) were added to refs/heads/master by this push:<br class=""><br class="">     new 94a0268  octave-octproj: fix build against proj4<br class=""><br class="">94a0268 is described below<br class=""><br class=""><br class="">commit 94a0268cc3d8b7a46705b71c7f94a72255249587<br class=""><br class="">Author: Marius Schamschula<br class="">AuthorDate: Tue Mar 27 08:39:24 2018 -0500<br class=""><br class=""><br class="">    octave-octproj: fix build against proj4<br class=""><br class="">---<br class=""> math/octave-octproj/Portfile                    | 13 +++++++---<br class=""> math/octave-octproj/files/patch-flags.diff      |  2 +-<br class=""> math/octave-octproj/files/patch-proj_api.h.diff | 33 +++++++++++++++++++++++++<br class=""> 3 files changed, 43 insertions(+), 5 deletions(-)<br class=""></blockquote><br class=""><br class=""><blockquote type="cite" class="">+post-patch {<br class="">+    reinplace "s|%PREFIX%|${prefix}|" ${worksrcpath}/src/Makefile<br class="">+    copy ${prefix}/lib/proj49/include/proj_api.h ${worksrcpath}/src/<br class="">+}<br class=""></blockquote><br class=""><blockquote type="cite" class="">+-#include<proj_api.h><br class="">++#include "proj_api.h"<br class=""></blockquote><br class="">Yow. Isn't there a cleaner way to accomplish this? Isn't the problem just because of -I/opt/local/include in CPPFLAGS, and if so, can't it be solved by prepending -I/opt/local/lib/proj49/include to CPPFLAGS?<br class=""><br class=""></div></div></blockquote><br class=""><div class="">My bad: l tried patching the Makefile, but modified CFLAGS rather than CPFLAGS. </div><div class=""><br class=""></div><div class=""><a href="https://github.com/macports/macports-ports/commit/77ea2fb4cfe60ff0add1be3fbbb320052a75dd02" class="">https://github.com/macports/macports-ports/commit/77ea2fb4cfe60ff0add1be3fbbb320052a75dd02</a></div><div class=""><br class=""></div></div><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Marius</div><div class="">--</div><div class="">Marius Schamschula</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">

</div>
<br class=""></div></body></html>