svn commit: r461050 - head/devel/libspice-server

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Feb 6 14:07:12 UTC 2018


Author: amdmi3
Date: Tue Feb  6 14:07:11 2018
New Revision: 461050
URL: https://svnweb.freebsd.org/changeset/ports/461050

Log:
  - Add missing python dependency
  - Provide PYTHON_CMD to configure explicitly
  
  Without it, configure tries to find python itself (trying python, python2,
  python3, python2.0, .., python3.5) which is a) prone to finding incorrect
  python executable and creating a hidden dependency and b) fails to detect
  python3.6. So this change also fixes build with python3.6 as default.
  
  Approved by:	portmgr blanket

Modified:
  head/devel/libspice-server/Makefile

Modified: head/devel/libspice-server/Makefile
==============================================================================
--- head/devel/libspice-server/Makefile	Tue Feb  6 14:02:09 2018	(r461049)
+++ head/devel/libspice-server/Makefile	Tue Feb  6 14:07:11 2018	(r461050)
@@ -34,7 +34,7 @@ SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
 STATISTICS_CONFIGURE_ENABLE=	statistics
 
 USES=		autoreconf gmake jpeg libtool localbase:ldflag pkgconfig \
-		ssl tar:bzip2
+		python ssl tar:bzip2
 
 USE_GNOME=	glib20
 USE_XORG=	pixman
@@ -49,7 +49,8 @@ CONFIGURE_ARGS+=--disable-celt051 \
 SPICE_SSL_CFLAGS=	-I${OPENSSLINC}
 SPICE_SSL_LIBS=	-L${OPENSSLLIB} -lcrypto -lssl
 CONFIGURE_ENV+=	SSL_CFLAGS="${SPICE_SSL_CFLAGS}" SSL_LIBS="${SPICE_SSL_LIBS}" \
-		OPENSSL_CFLAGS="${SPICE_SSL_CFLAGS}" OPENSSL_LIBS="${SPICE_SSL_LIBS}"
+		OPENSSL_CFLAGS="${SPICE_SSL_CFLAGS}" OPENSSL_LIBS="${SPICE_SSL_LIBS}" \
+		PYTHON=${PYTHON_CMD}
 
 INSTALL_TARGET=	install-strip
 


More information about the svn-ports-head mailing list