From owner-svn-ports-all@FreeBSD.ORG Sat Jun 28 06:59:49 2014 Return-Path: Delivered-To: svn-ports-all@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 4A97C902; Sat, 28 Jun 2014 06:59:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 37CEB2B05; Sat, 28 Jun 2014 06:59:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5S6xnmr082975; Sat, 28 Jun 2014 06:59:49 GMT (envelope-from mva@svn.freebsd.org) Received: (from mva@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5S6xn5W082973; Sat, 28 Jun 2014 06:59:49 GMT (envelope-from mva@svn.freebsd.org) Message-Id: <201406280659.s5S6xn5W082973@svn.freebsd.org> From: Marcus von Appen Date: Sat, 28 Jun 2014 06:59:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359663 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2014 06:59:49 -0000 Author: mva Date: Sat Jun 28 06:59:48 2014 New Revision: 359663 URL: http://svnweb.freebsd.org/changeset/ports/359663 QAT: https://qat.redports.org/buildarchive/r359663/ Log: - Fix PYDISTUTILS_SETUP to use a proper argument list and avoid polluting the PYDISTUTILS_*_ARGS with wrong flags. PR: 191317 Phabric: D270 Exp-run: antoine With hat: python@ Modified: head/Mk/bsd.python.mk Modified: head/Mk/bsd.python.mk ============================================================================== --- head/Mk/bsd.python.mk Sat Jun 28 06:38:02 2014 (r359662) +++ head/Mk/bsd.python.mk Sat Jun 28 06:59:48 2014 (r359663) @@ -548,7 +548,10 @@ post-install: stage-python-compileall # distutils support PYSETUP?= setup.py -PYDISTUTILS_SETUP?= -c "import setuptools; __file__='${PYSETUP}'; exec(compile(open(__file__, 'rb').read().replace(b'\\r\\n', b'\\n'), __file__, 'exec'))" +PYDISTUTILS_SETUP?= -c \ + "import sys; import setuptools; \ + __file__='${PYSETUP}'; sys.argv[0]='${PYSETUP}'; \ + exec(compile(open(__file__, 'rb').read().replace(b'\\r\\n', b'\\n'), __file__, 'exec'))" PYDISTUTILS_CONFIGUREARGS?= PYDISTUTILS_BUILDARGS?= PYDISTUTILS_INSTALLARGS?= -c -O1 --prefix=${PREFIX}