From f4903d52390cc33aa715e23b608e072c1430a4c6 Mon Sep 17 00:00:00 2001 From: tg Date: Mon, 13 Nov 2000 13:22:34 +0000 Subject: Fix compilation on FreeBSD-3.x. PR: 22226 Reviewed by: Alan Bawden --- lang/python-devel/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lang/python-devel') diff --git a/lang/python-devel/Makefile b/lang/python-devel/Makefile index 44a654b5a30b..6663762a106f 100644 --- a/lang/python-devel/Makefile +++ b/lang/python-devel/Makefile @@ -76,6 +76,12 @@ post-configure: .include +.if ${OSVERSION} < 400000 +LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses +CFLAGS+= -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include +CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" +.endif + .if ${OSVERSION} >= 500000 && ${OSVERSION} < 500005 CONFIGURE_ARGS+= --with-libs='-lxpg4' .endif -- cgit