Some setup-hooks with new syntax; pkgconfig upgraded to 0.22

svn path=/nixpkgs/trunk/; revision=9645
This commit is contained in:
Yury G. Kudryashov
2007-11-11 20:32:43 +00:00
parent bfe435ebaf
commit 16b44ea14d
7 changed files with 16 additions and 28 deletions

View File

@@ -1,8 +1,5 @@
addPythonPath() {
local p=$1/lib/python2.5/site-packages
if test -d $p; then
export PYTHONPATH="${PYTHONPATH}${PYTHONPATH:+:}$p"
fi
addToSearchPathWithCustomDelimiter : PYTHONPATH /lib/python2.5/site-packages "" $1
}
toPythonPath() {

View File

@@ -1,8 +1,5 @@
addPythonPath() {
local p=$1/lib/python2.4/site-packages
if test -d $p; then
export PYTHONPATH="${PYTHONPATH}${PYTHONPATH:+:}$p"
fi
addToSearchPathWithCustomDelimiter : PYTHONPATH /lib/python2.4/site-packages "" $1
}
toPythonPath() {