Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2019 13:38:42 +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: r517969 - head/devel/libftdi
Message-ID:  <201911191338.xAJDcgPA026427@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Nov 19 13:38:41 2019
New Revision: 517969
URL: https://svnweb.freebsd.org/changeset/ports/517969

Log:
  - Fix python3 support
  - Silence stripping

Modified:
  head/devel/libftdi/Makefile

Modified: head/devel/libftdi/Makefile
==============================================================================
--- head/devel/libftdi/Makefile	Tue Nov 19 13:19:23 2019	(r517968)
+++ head/devel/libftdi/Makefile	Tue Nov 19 13:38:41 2019	(r517969)
@@ -31,7 +31,8 @@ PYTHON_DESC=		Python bindings
 PYTHON_BINARY_ALIAS=	swig=swig3.0
 PYTHON_BUILD_DEPENDS=	swig3.0:devel/swig30
 PYTHON_CMAKE_BOOL=	PYTHON_BINDINGS
-PYTHON_USES=		python:2.7
+PYTHON_USES=		python
+PYTHON_USE=		PYTHON=py3kplist
 
 post-patch:
 	@${REINPLACE_CMD} \
@@ -45,6 +46,6 @@ post-patch:
 post-install-PYTHON-on:
 	${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
 	${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_ftdi.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_ftdi.so
 
 .include <bsd.port.mk>



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