IceCat: Don't override $PYTHONPATH.
svn path=/nixpkgs/trunk/; revision=16433
This commit is contained in:
parent
5fdfa7ddf1
commit
3c7bb6a957
2 changed files with 17 additions and 1 deletions
|
@ -20,7 +20,9 @@ stdenv.mkDerivation {
|
|||
xlibs.libXi xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt
|
||||
];
|
||||
|
||||
patches = [ ./skip-gre-registration.patch ./rpath-link.patch ];
|
||||
patches = [
|
||||
./skip-gre-registration.patch ./rpath-link.patch ./pythonpath.patch
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-application=${application}"
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
This patch makes sure $PYTHONPATH is not overridden so that the `ply'
|
||||
Python module is visible.
|
||||
|
||||
--- icecat-3.5.1/js/src/xpconnect/src/Makefile.in 2009-07-18 14:33:08.000000000 +0200
|
||||
+++ icecat-3.5.1/js/src/xpconnect/src/Makefile.in 2009-07-20 16:31:43.000000000 +0200
|
||||
@@ -209,7 +209,7 @@ dom_quickstubs.h dom_quickstubs.cpp: $(s
|
||||
$(topsrcdir)/xpcom/idl-parser/header.py \
|
||||
$(topsrcdir)/xpcom/idl-parser/xpidl.py \
|
||||
$(DEPTH)/js/src/mozilla-config.h
|
||||
- PYTHONPATH=$(topsrcdir)/xpcom/idl-parser \
|
||||
+ PYTHONPATH="$$PYTHONPATH:$(topsrcdir)/xpcom/idl-parser" \
|
||||
$(PYTHON) $(srcdir)/qsgen.py \
|
||||
--idlpath=$(DEPTH)/dist/idl \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser \
|
Loading…
Reference in a new issue