From 8b9283ca24e2fe6b2a9f1eb8a5a73225b36b8d56 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Wed, 7 Dec 2005 18:39:54 +0000 Subject: [PATCH] Remove python-config call. Bug #113386 svn path=/; revision=265 --- trunk/makedefs.mak | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.26.2