lang/python fails to portupgrade

Andy Fawcett andy at athame.co.uk
Tue Oct 21 09:52:46 PDT 2003


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 at 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 at athame.co.uk
                                                 | tap at kde.org
"In an open world without walls and fences,      | tap at lspace.org
  we wouldn't need Windows and Gates."  -- anon  | tap at fruitsalad.org



More information about the freebsd-ports mailing list