diff options
author | sbd <sbd@pkgsrc.org> | 2013-03-24 09:11:01 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2013-03-24 09:11:01 +0000 |
commit | b50e43e35e9c11ea4b04985f5b7c0f934e21db13 (patch) | |
tree | 7f24fcd59439082817d68925f6480df80b2f1884 /devel | |
parent | e0958c428231c71d4ef5d6e6bfbfb45d4446f62a (diff) | |
download | pkgsrc-b50e43e35e9c11ea4b04985f5b7c0f934e21db13.tar.gz |
Fixing path to python with python is being call from a python script.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/xulrunner/mozilla-common.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/xulrunner/mozilla-common.mk b/devel/xulrunner/mozilla-common.mk index 3e4e33f05f4..9c7470bdf29 100644 --- a/devel/xulrunner/mozilla-common.mk +++ b/devel/xulrunner/mozilla-common.mk @@ -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 @@ PYTHON_FOR_BUILD_ONLY= yes .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 |