Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2003 19:52:41 +0300
From:      Andy Fawcett <andy@athame.co.uk>
To:        Hye-Shik Chang <perky@i18n.org>
Cc:        ports@FreeBSD.org
Subject:   Re: lang/python fails to portupgrade
Message-ID:  <200310211952.41081.andy@athame.co.uk>
In-Reply-To: <20031021164251.GA92417@i18n.org>
References:  <200310211931.31433.andy@athame.co.uk> <20031021163729.GA91839@i18n.org> <20031021164251.GA92417@i18n.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 21 October 2003 19:42, Hye-Shik Chang wrote:
> On Wed, Oct 22, 2003 at 01:37:29AM +0900, Hye-Shik Chang wrote:
> > On Tue, Oct 21, 2003 at 07:31:31PM +0300, Andy Fawcett wrote:
> > > Sorry about the mail rather than a PR, I seem to have broken my
> > > send-pr somehow. I'll fix that next...
>
> [snip]
>
> > Aah. Can you try this patch? I guess that this problem is caused by
> > ports/Mk/bsd.python.mk rev 1.38
> >
> > Index: Makefile
> > ===================================================================
> > RCS file: /home/pcvs/ports/lang/python/Makefile,v
>
> Oops. the patch wasn't enough. please use this.
>
> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/lang/python/Makefile,v
> retrieving revision 1.110
> diff -u -u -r1.110 Makefile
> --- Makefile	19 Oct 2003 09:17:44 -0000	1.110
> +++ Makefile	21 Oct 2003 16:41:50 -0000
> @@ -10,13 +10,14 @@
>  CATEGORIES=	lang python ipv6
>  MASTER_SITES=	${MASTER_SITE_PYTHON}
>  MASTER_SITE_SUBDIR=	${PYTHON_SITE_SUBDIR}
> -DISTFILES=	${PYTHON_DISTFILE}
> +DISTNAME=	Python-${PORTVERSION}
>
>  MAINTAINER=	perky@FreeBSD.org
>  COMMENT?=	An interpreted object-oriented programming language
>
>  DIST_SUBDIR=	python
>  WRKSRC=		${PYTHON_WRKSRC}
> +EXTRACT_SUFX=	.tgz
>  GNU_CONFIGURE=	yes
>  CONFIGURE_ARGS=	--with-fpectl
>  CONFIGURE_ENV=	OPT="${CFLAGS}"

Better, it at least extracts the correct distfile now ;)

However:

===>  Extracting for python-2.3.2
>> Checksum OK for python/Python-2.3.2.tgz.
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.3,' \
  /usr/ports/lang/python/work/Python-2.3/Tools/scripts/pydoc > \
  /usr/ports/lang/python/work/pydoc2.3
sed: /usr/ports/lang/python/work/Python-2.3/Tools/scripts/pydoc: \
  No such file or directory

looks like WRKSRC isn't being set right...

Cheers,

Andy

-- 
Andy Fawcett                                     | andy@athame.co.uk
                                                 | tap@kde.org
"In an open world without walls and fences,      | tap@lspace.org
  we wouldn't need Windows and Gates."  -- anon  | tap@fruitsalad.org



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