Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2018 14:07:11 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461050 - head/devel/libspice-server
Message-ID:  <201802061407.w16E7BXa089614@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802061407.w16E7BXa089614>