Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 22:13:06 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334901 - head/audio/xmms2
Message-ID:  <201311252213.rAPMD6gZ059868@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Mon Nov 25 22:13:06 2013
New Revision: 334901
URL: http://svnweb.freebsd.org/changeset/ports/334901

Log:
  Fix calls to waf scripts to allow depending on any python version,
  instead of the one hardcoded in the script itself.
  
  Submitted by:	python@ (mva@)

Modified:
  head/audio/xmms2/Makefile

Modified: head/audio/xmms2/Makefile
==============================================================================
--- head/audio/xmms2/Makefile	Mon Nov 25 22:09:51 2013	(r334900)
+++ head/audio/xmms2/Makefile	Mon Nov 25 22:13:06 2013	(r334901)
@@ -375,15 +375,15 @@ post-patch:
 	@${REINPLACE_CMD} -e "s|%%WRKSRC%%|${WRKSRC}|" ${WRKSRC}/wscript
 
 do-configure:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf ${_MAKE_JOBS} configure \
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} waf ${_MAKE_JOBS} configure \
 		--conf-prefix=${LOCALBASE} --prefix=${PREFIX} \
 		--mandir=${PREFIX}/man ${EXCLUDE}
 
 do-build:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf ${_MAKE_JOBS} build
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} waf ${_MAKE_JOBS} build
 
 do-install:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install --destdir=${STAGEDIR} --without-ldconfig
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} waf install --destdir=${STAGEDIR} --without-ldconfig
 .if !defined(XMMS2_SLAVE)
 	if [ ! -d ${STAGEDIR}${DATADIR}/scripts/startup.d ]; then \
 		${MKDIR} ${STAGEDIR}${DATADIR}/scripts/startup.d; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311252213.rAPMD6gZ059868>