[Spice-devel] spice-gtk patch for skip openssl requires on FreeBSD platform

Oleg Ginzburg olevole at olevole.ru
Tue Nov 1 19:15:45 UTC 2016


Hello,

This patch skips openssl requires on FreeBSD platform:

---
--- configure.ac.bak    2016-11-01 22:04:57.707000000 +0300
+++ configure.ac        2016-11-01 22:05:35.981994000 +0300
@@ -108,7 +108,11 @@
 PKG_CHECK_MODULES(SSL, openssl)
 AC_SUBST(SSL_CFLAGS)
 AC_SUBST(SSL_LIBS)
-SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRES} openssl"
+
+case $host_os in
+  freebsd*)       ;;
+  *)              SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRES} openssl" ;;
+esac
 
 SPICE_CHECK_SASL
---

Since openssl is part of FreeBSD base distribution. 
It would be great to include it in the upstream. 
Testen on: FreeBSD 10.x, 11.x and 12-CURRENT aka HEAD.

Thanks.

-- 
Homepage: http://www.olevole.ru
Mobile: +7(962) 6942685
TOX ID: olevole at toxme.se
XMPP/jabber: olevole at jabber.ru
Voice: 199.48.133.74/1001
PGP public key: http://www.olevole.ru/olevole_pgpkey.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-configure.ac
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20161101/b4294073/attachment.bin>


More information about the Spice-devel mailing list