fix pygtk in pyhtonNew

svn path=/nixpkgs/trunk/; revision=16261
This commit is contained in:
Marc Weber 2009-07-09 03:50:22 +00:00
parent 7cd0bee0c7
commit 6ec3225722

View File

@ -200,8 +200,8 @@ in
unset installPhase unset installPhase
export G2CONF="--enable-gconf" # hack, should be specified somewhere else export G2CONF="--enable-gconf" # hack, should be specified somewhere else
for srcs in $pygobjectSrc $pygtkSrc $pySrcs; do for srcs in $pygobjectSrc $pygtkSrc $pySrcs; do
cd $TMP; mkdir "$(basename $srcs)"; cd "$(basename $srcs)"; unpackPhase cd $TMP; mkdir "$(basename $srcs)"; cd "$(basename $srcs)"; unpackFile $srcs
cd $sourceRoot cd *
configurePhase; buildPhase; installPhase configurePhase; buildPhase; installPhase
addToEnv $out # pygtk has to know about pygobject addToEnv $out # pygtk has to know about pygobject
PATH=$out/bin:$PATH # gnome-python nees pygtk-codegen PATH=$out/bin:$PATH # gnome-python nees pygtk-codegen