summaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2005-12-07 18:39:54 +0000
committerfuzzyray <fuzzyray@gentoo.org>2005-12-07 18:39:54 +0000
commit8b9283ca24e2fe6b2a9f1eb8a5a73225b36b8d56 (patch)
treea47371200c0c8c56f782177f633fcc27f1763fc7 /trunk
parent217d00e13b8c04b182344995f22c5a89fe1d5b9c (diff)
downloadgentoolkit-8b9283ca24e2fe6b2a9f1eb8a5a73225b36b8d56.tar.gz
Remove python-config call. Bug #113386
svn path=/; revision=265
Diffstat (limited to 'trunk')
-rw-r--r--trunk/makedefs.mak4
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/makedefs.mak b/trunk/makedefs.mak
index 2ece448..efbc8ce 100644
--- 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)