diff options
Diffstat (limited to 'lang/python24/Makefile')
-rw-r--r-- | lang/python24/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile index 44a654b5a30..6663762a106 100644 --- a/lang/python24/Makefile +++ b/lang/python24/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 |