From owner-freebsd-ports@FreeBSD.ORG Wed Feb 19 15:02:13 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 682DDC28 for ; Wed, 19 Feb 2014 15:02:13 +0000 (UTC) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 2781A102B for ; Wed, 19 Feb 2014 15:02:13 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:c896:bb5c:9b2b:52b0]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id E116D4AC1C for ; Wed, 19 Feb 2014 19:02:05 +0400 (MSK) Date: Wed, 19 Feb 2014 19:02:01 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <254945186.20140219190201@serebryakov.spb.ru> To: freebsd-ports@freebsd.org Subject: What should be in scripts shebangs for python2? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 15:02:13 -0000 Hello, Freebsd-ports. My port uses some pythons scripts to configure (it is not pythonn-related by itself, only authors of this software use python scripts on build stage). How should I patch these scripts to work? It looks like /usr/local/bin/python2 is installed by devel/python2 port, and USE_PYTHON_BUILD=yes doesn't depends on this port, but on python27, which could be changed in future or by users's request, so I don't want to hardcode /usr/local/bin/python2.7, too... -- // Black Lion AKA Lev Serebryakov