From owner-freebsd-ports Fri Oct 27 4:20: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 32E4837B4CF for ; Fri, 27 Oct 2000 04:20:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA71990; Fri, 27 Oct 2000 04:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 27 Oct 2000 04:20:03 -0700 (PDT) Message-Id: <200010271120.EAA71990@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Thomas Gellekum Subject: Re: ports/22226: python 2.0 port fails to compile Reply-To: Thomas Gellekum Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/22226; it has been noted by GNATS. From: Thomas Gellekum 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 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 +.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