<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 17, 2018 at 2:02 PM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">hey,<br>
<span class="gmail-"><br>
On Wed, Jan 17, 2018 at 12:15:03PM +0300, Oleg Ginzburg wrote:<br>
> Confirm - these changes work successfully, tested on: FreeBSD 11.1-RELEASE<br>
> and FreeBSD 12-CURRENT (aka HEAD).<br>
><br>
> Will these changes be included in the next release?<br>
><br>
> There is another small issue of build libspice-server on FreeBSD<br>
> platform: OpenSSL<br>
> is included in the FreeBSD base.<br>
> However, the pkcconf does not find it without these changes:<br>
><br>
> <a href="https://reviews.freebsd.org/D13896" rel="noreferrer" target="_blank">https://reviews.freebsd.org/<wbr>D13896</a>  ( see head/devel/libspice-server/<wbr>files/<br>
> <a href="http://patch-configure.ac" rel="noreferrer" target="_blank">patch-configure.ac</a> )<br>
><br>
> Another way to fix it - install openssl from ports or packages ( while base<br>
> OpenSSL placed on /usr/lib and /usr/include, 3-rd packages and openssl from<br>
> ports/packages placed in /usr/local prefix and pkgconf finds it).<br>
> Nevertheless, at the moment there is no strong reason to add dependency for<br>
> OpenSSL from ports/packages.<br>
><br>
> Can you review this patch for <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> ? I believe this patch can also<br>
> be useful for other platforms, including MacOSX.  Perhaps it can also be<br>
> included in the upstream. Otherwise, it will remain in FreeBSD ports tree.<br>
<br>
</span>Ah this is similar to <a href="https://cgit.freedesktop.org/spice/spice-gtk/commit/?id=03d3ea2fa96566dfb413c7f53854390b089f9eed" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/<wbr>spice/spice-gtk/commit/?id=<wbr>03d3ea2fa96566dfb413c7f5385439<wbr>0b089f9eed</a><br>
it can definitely be included upstream, though I'd prefer that both<br>
spice and spice-gtk does it the same way (both ways are fine with me,<br>
the patch you linked to probably saves one call to pkg-config).<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
Christophe<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Yea. <span id="gmail-result_box" class="gmail-" tabindex="-1" lang="en"><span class="gmail-">There are several ways.</span> <span>Unfortunately, </span></span><span id="gmail-result_box" class="gmail-" tabindex="-1" lang="en"><span><span id="gmail-result_box" class="gmail-short_text" tabindex="-1" lang="en"><span class="gmail-">I do not know which one should be preferred.</span></span></span></span></div><div class="gmail_extra"><span id="gmail-result_box" class="gmail-" tabindex="-1" lang="en"><span>Also, </span></span><span id="gmail-result_box" class="gmail-short_text" tabindex="-1" lang="en"><span class="gmail-">I am maintainer  of spice-gtk port in FreeBSD and </span></span><span id="gmail-result_box" class="gmail-short_text" tabindex="-1" lang="en"><span class="gmail-">it also has similar fixes:<br><br><a href="https://svnweb.freebsd.org/ports/head/deskutils/spice-gtk/files/patch-configure.ac?revision=425018&view=markup">https://svnweb.freebsd.org/ports/head/deskutils/spice-gtk/files/patch-configure.ac?revision=425018&view=markup</a></span></span></div><div class="gmail_extra"><span id="gmail-result_box" class="gmail-short_text" tabindex="-1" lang="en"><span class="gmail-"></span></span><br><span id="gmail-result_box" class="gmail-" tabindex="-1" lang="en"><span></span></span></div></div>