pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/xulrunner Fixing path to python with python is b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9cd11e93ffc5
branches:  trunk
changeset: 616288:9cd11e93ffc5
user:      sbd <sbd%pkgsrc.org@localhost>
date:      Sun Mar 24 09:11:01 2013 +0000

description:
Fixing path to python with python is being call from a python script.

diffstat:

 devel/xulrunner/mozilla-common.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 761c035ae36c -r 9cd11e93ffc5 devel/xulrunner/mozilla-common.mk
--- a/devel/xulrunner/mozilla-common.mk Sun Mar 24 09:00:03 2013 +0000
+++ b/devel/xulrunner/mozilla-common.mk Sun Mar 24 09:11:01 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.43 2013/03/10 17:27:27 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.44 2013/03/24 09:11:01 sbd Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -59,6 +59,12 @@
 .include "../../lang/python/application.mk"
 CONFIGURE_ENV+=                PYTHON=${PYTHONBIN:Q}
 
+SUBST_CLASSES+=                python
+SUBST_STAGE.python=    pre-configure
+SUBST_MESSAGE.python=  Fixing path to python.
+SUBST_FILES.python+=   media/webrtc/trunk/build/common.gypi
+SUBST_SED.python+=     -e 's,<!(python,<!(${PYTHONBIN},'
+
 # When MACHINAE_ARCH == "arm", linjpeg-turbo should be enabled.
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 BUILD_DEPENDS+=                yasm>=1.1.0:../../devel/yasm



Home | Main Index | Thread Index | Old Index