aboutsummaryrefslogtreecommitdiff
path: root/lang/python32
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-11-13 13:22:34 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-11-13 13:22:34 +0000
commit63f9ef6a351c91797f4fee687d4276c8daf1e828 (patch)
treecec6240aadeb6d805aab7a38eedff761c5bc21c5 /lang/python32
parent7e05af8a37348e1b8647560ac18d427118fbc7ab (diff)
downloadports-63f9ef6a351c91797f4fee687d4276c8daf1e828.tar.gz
ports-63f9ef6a351c91797f4fee687d4276c8daf1e828.zip
Notes
Diffstat (limited to 'lang/python32')
-rw-r--r--lang/python32/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index 44a654b5a30b..6663762a106f 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -76,6 +76,12 @@ post-configure:
.include <bsd.port.pre.mk>
+.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