svn commit: r461415 - head/devel/libftdi
Tobias Kortkamp
tobik at FreeBSD.org
Sat Feb 10 19:38:24 UTC 2018
Author: tobik
Date: Sat Feb 10 19:38:23 2018
New Revision: 461415
URL: https://svnweb.freebsd.org/changeset/ports/461415
Log:
devel/libftdi: Fix build without PYTHON after r451798
BINARY_ALIAS is set unconditionally but swig3.0 is only available with
PYTHON=on and create-binary-alias will fail when it is missing.
PR: 225524
Reported by: johan at stromnet.se
Modified:
head/devel/libftdi/Makefile
Modified: head/devel/libftdi/Makefile
==============================================================================
--- head/devel/libftdi/Makefile Sat Feb 10 19:33:10 2018 (r461414)
+++ head/devel/libftdi/Makefile Sat Feb 10 19:38:23 2018 (r461415)
@@ -28,11 +28,10 @@ BOOST_CMAKE_BOOL= FTDIPP
BOOST_CXXFLAGS= -I${LOCALBASE}/include
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
-
-BINARY_ALIAS= swig=swig3.0
post-patch:
@${REINPLACE_CMD} \
More information about the svn-ports-all
mailing list