Date: Mon, 25 Nov 2013 08:13:36 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334820 - head/devel/pypersrc Message-ID: <201311250813.rAP8DaeH045369@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311250813.rAP8DaeH045369>