diff options
author | tg <tg@FreeBSD.org> | 2000-11-13 13:22:34 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2000-11-13 13:22:34 +0000 |
commit | f4903d52390cc33aa715e23b608e072c1430a4c6 (patch) | |
tree | 8690c2f0ffd9ddd0b8503c61ea2ddae20f694690 /lang/python-devel | |
parent | cacb70c53e0d487d512dba547fb752c8758945e2 (diff) | |
download | FreeBSD-ports-f4903d52390cc33aa715e23b608e072c1430a4c6.zip FreeBSD-ports-f4903d52390cc33aa715e23b608e072c1430a4c6.tar.gz |
Fix compilation on FreeBSD-3.x.
PR: 22226
Reviewed by: Alan Bawden <Alan@LCS.MIT.EDU>
Diffstat (limited to 'lang/python-devel')
-rw-r--r-- | lang/python-devel/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/python-devel/Makefile b/lang/python-devel/Makefile index 44a654b..6663762 100644 --- a/lang/python-devel/Makefile +++ b/lang/python-devel/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 |