From: fuzzyray Date: Wed, 7 Dec 2005 18:39:54 +0000 (-0000) Subject: Remove python-config call. Bug #113386 X-Git-Tag: gentoolkit-0.2.4.3~248 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8b9283ca24e2fe6b2a9f1eb8a5a73225b36b8d56;p=gentoolkit.git Remove python-config call. Bug #113386 svn path=/; revision=265 --- 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)