Fix compilation on FreeBSD-3.x.

PR:		22226
Reviewed by:	Alan Bawden <Alan@LCS.MIT.EDU>
This commit is contained in:
Thomas Gellekum
2000-11-13 13:22:34 +00:00
parent 7e05af8a37
commit 63f9ef6a35
13 changed files with 78 additions and 0 deletions

View File

@@ -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