Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 04:20:03 -0700 (PDT)
From:      Thomas Gellekum <tg@melaten.rwth-aachen.de>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/22226: python 2.0 port fails to compile
Message-ID:  <200010271120.EAA71990@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/22226; it has been noted by GNATS.

From: Thomas Gellekum <tg@melaten.rwth-aachen.de>
To: matt@chaos.jcsd1.k12.wy.us
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/22226: python 2.0 port fails to compile
Date: 27 Oct 2000 13:22:27 +0200

 --=-=-=
 
 Matt DeLapp <matt@chaos.jcsd1.k12.wy.us> writes:
 
 >  cc -fPIC  -O -pipe -D_THREAD_SAFE -I./../Include -I.. -DHAVE_CONFIG_H -c ./_cursesmodule.c
 >  *** Error code 1
 >  
 >  Stop.
 
 I think there are some compiler messages missing. Anyway, can you try
 the attached patch? I don't have a 3.x machine to try it on.
 
 tg
 
 
 --=-=-=
 Content-Type: text/x-patch
 Content-Disposition: attachment; filename=python-port.diff
 
 Index: Makefile
 ===================================================================
 RCS file: /usr/cvs/ports/lang/python/Makefile,v
 retrieving revision 1.71
 diff -u -r1.71 Makefile
 --- Makefile	2000/10/18 11:58:44	1.71
 +++ Makefile	2000/10/26 15:59:07
 @@ -76,6 +76,12 @@
  
  .include <bsd.port.pre.mk>
  
 +.if ${OSVERSION} < 400000
 +LIB_DEPENDS+=	ncurses.4:${PORTSDIR}/devel/ncurses
 +CFLAGS+=	-I${LOCALBASE}/include
 +CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib"
 +.endif
 +
  .if ${OSVERSION} >= 500000 && ${OSVERSION} < 500005
  CONFIGURE_ARGS+= --with-libs='-lxpg4'
  .endif
 
 --=-=-=--
 


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?200010271120.EAA71990>