projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
217d00e
)
Remove python-config call. Bug #113386
author
fuzzyray
<fuzzyray@gentoo.org>
Wed, 7 Dec 2005 18:39:54 +0000
(18:39 -0000)
committer
fuzzyray
<fuzzyray@gentoo.org>
Wed, 7 Dec 2005 18:39:54 +0000
(18:39 -0000)
svn path=/; revision=265
trunk/makedefs.mak
patch
|
blob
|
history
diff --git
a/trunk/makedefs.mak
b/trunk/makedefs.mak
index 2ece4482de9e0f9bb8a1c202a6913175602ec2cd..efbc8ce333b66c8eb243fa60dae36b6f7eb8f73f 100644
(file)
--- a/
trunk/makedefs.mak
+++ b/
trunk/makedefs.mak
@@
-8,7
+8,9
@@
VERSION=9.9.9
RELEASE_TAG=
-PYVERSION="`python-config | sed 's/-l//' | sed 's/ -lm.*//'`"
+# python-config is not installed on all arches Bug #113386
+#PYVERSION="`python-config | sed 's/-l//' | sed 's/ -lm.*//'`"
+PYVERSION="`LC_COLLATE=C; python -V 2>&1 | tr '[:upper:]' '[:lower:]' | sed -e 's/ //g;s/\([0-9]\.[0-9]\)\.[0-9]/\1/'`"
DESTDIR=
docdir=$(DESTDIR)/usr/share/doc/gentoolkit-$(VERSION)$(RELEASE_TAG)