From owner-freebsd-ports@freebsd.org Wed Nov 27 07:44:24 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 177BC1CCBD3 for ; Wed, 27 Nov 2019 07:44:24 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47NCTM6nzkz3HlG for ; Wed, 27 Nov 2019 07:44:23 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from [192.168.0.5] (unknown [181.52.72.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: pfg) by smtp.freebsd.org (Postfix) with ESMTPSA id 99B001C0B6 for ; Wed, 27 Nov 2019 07:44:23 +0000 (UTC) (envelope-from pfg@FreeBSD.org) From: Pedro Giffuni Subject: Mysterious python detection failure in science/tfel Organization: FreeBSD To: freebsd-ports@FreeBSD.org Message-ID: <939e143b-af67-1b21-230d-af2c16a59d2c@FreeBSD.org> Date: Wed, 27 Nov 2019 02:44:21 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2019 07:44:24 -0000 Hi ports developers; In order to get the tfel port updated I got an issue with the python detection in CMake: In the tfel port Makefile we used to have this: PYTHON_CMAKE_ARGS=    `-Denable-python=ON -Denable-python-bindings=ON` portlint suggested using CMAKE_ON and according to the documentation the way to go is this: PYTHON_CMAKE_ON=    enable-python enable-python-bindings This works for other options but doesn't enable python on the port. It looks like the PYTHON_CMAKE_ARGS option doesn't work anymore either. However using this works: PYTHON_CMAKE_ON=    -Denable-python=ON -Denable-python-bindings=ON I am rather perplex since this isn't the way its supposed to work(?). I reported the issue upstream and while the author uses FreeBSD 12, he doesn't have issues building with python support. Is there a way to see the command line the port is sending to build the port? Anyone know what is going on? Thanks in advance, Pedro.