From owner-svn-ports-head@FreeBSD.ORG Mon Nov 25 08:13:36 2013 Return-Path: Delivered-To: svn-ports-head@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 EF49FDCA; Mon, 25 Nov 2013 08:13:36 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DF029237D; Mon, 25 Nov 2013 08:13:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAP8Daf8045370; Mon, 25 Nov 2013 08:13:36 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAP8DaeH045369; Mon, 25 Nov 2013 08:13:36 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201311250813.rAP8DaeH045369@svn.freebsd.org> From: Pietro Cerutti Date: Mon, 25 Nov 2013 08:13:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334820 - head/devel/pypersrc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 08:13:37 -0000 Author: gahr Date: Mon Nov 25 08:13:36 2013 New Revision: 334820 URL: http://svnweb.freebsd.org/changeset/ports/334820 Log: - Use PYTHON_CMD instead of plain python during the build process Submitted by: mva (on behalf of python@) Modified: head/devel/pypersrc/Makefile Modified: head/devel/pypersrc/Makefile ============================================================================== --- head/devel/pypersrc/Makefile Mon Nov 25 07:59:47 2013 (r334819) +++ head/devel/pypersrc/Makefile Mon Nov 25 08:13:36 2013 (r334820) @@ -32,9 +32,10 @@ post-patch: ${REINPLACE_CMD} -e \ '/INSTALL_DIR/s|=.*|=$$(PREFIX)/bin| ; \ /MAN_DIR/s|\/usr\/local|$$(PREFIX)| ; \ + s|^PYTHON\(.*\)= python|PYTHON\1= ${PYTHON_CMD}| ; \ /-O2/s|^|#|' ${WRKSRC}/GNUmakefile - ${REINPLACE_CMD} -e \ - 's|/bin/bash|${SH}|g' ${WRKSRC}/configure.sh + ${REINPLACE_CMD} -e 's|/bin/bash|${SH}|g ; \ + s|python |${PYTHON_CMD} |' ${WRKSRC}/configure.sh ${REINPLACE_CMD} -e 's|g++|${CXX}|g' ${WRKSRC}/tests/GNUmakefile @${REINPLACE_CMD} -e 's|tolower|::tolower|' ${WRKSRC}/src/cc/utils_string.hh