From owner-svn-ports-branches@freebsd.org Sat Feb 10 19:55:27 2018 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF24FF1911C; Sat, 10 Feb 2018 19:55:27 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D5EA6F3A2; Sat, 10 Feb 2018 19:55:27 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 87B08189D5; Sat, 10 Feb 2018 19:55:27 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1AJtROh093793; Sat, 10 Feb 2018 19:55:27 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1AJtRrC093792; Sat, 10 Feb 2018 19:55:27 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201802101955.w1AJtRrC093792@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 10 Feb 2018 19:55:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r461417 - branches/2018Q1/devel/libftdi X-SVN-Group: ports-branches X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: branches/2018Q1/devel/libftdi X-SVN-Commit-Revision: 461417 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Feb 2018 19:55:28 -0000 Author: tobik Date: Sat Feb 10 19:55:27 2018 New Revision: 461417 URL: https://svnweb.freebsd.org/changeset/ports/461417 Log: MFH: r461415 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@stromnet.se Approved by: ports-secteam blanket Modified: branches/2018Q1/devel/libftdi/Makefile Directory Properties: branches/2018Q1/ (props changed) Modified: branches/2018Q1/devel/libftdi/Makefile ============================================================================== --- branches/2018Q1/devel/libftdi/Makefile Sat Feb 10 19:53:58 2018 (r461416) +++ branches/2018Q1/devel/libftdi/Makefile Sat Feb 10 19:55:27 2018 (r461417) @@ -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} \