Skip site navigation (1)Skip section navigation (2)
Date:      05 Sep 2000 14:01:28 +0200
From:      Thomas Gellekum <tg@melaten.rwth-aachen.de>
To:        Steve Price <sprice@hiwaay.net>
Cc:        ports@freebsd.org
Subject:   Re: 'make index' slightly borked
Message-ID:  <kq8zt7oxnr.fsf@cip12.melaten.rwth-aachen.de>
In-Reply-To: Steve Price's message of "Mon, 4 Sep 2000 13:36:29 -0500"
References:  <20000904133629.D266@bonsai.hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Price <sprice@hiwaay.net> writes:

> I just noticed while doing a 'make index' that I got a couple of
> 'python: not found' messages.  The culprits turned out to be the
> math/numpy and misc/py-distutils ports.  Make sure the python port
> is not installed or at the very least not in your PATH and type
> 'make describe' in either one of these ports and you'll see what
> I mean.

Thanks for the notice.

> One way of fixing this would be to use something like the following
> patch.

> +PYVERSION!=	(which python > /dev/null && python -c 'import string, sys; print string.split(sys.version)[0][:3]') || echo "1.5"

`python -c ... 2> /dev/null' should work, too.

> However, this doesn't work very well besides being hackish.  The port
> really needs to be fixing up PLIST when we are absolutely positive that
> python will be around - like in the do-build target.  Though not very
> pretty here is one way of going about it.

I can't do that. I'll need PYVERSION (or similar) for different things
when python-2.0 is out. The above line will then be hidden in a bsd.python.mk.

> The math/numpy port will be a bit trickier to fix and is left as an
> exercise for the reader. :)

The ugly details will be hidden behind a `USE_PYTHON=yes', when I'm
finished (I hope ;-)).

tg


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?kq8zt7oxnr.fsf>