Depend on math/libgmp when running a recent -current.

This commit is contained in:
Thomas Gellekum
2001-09-25 11:39:45 +00:00
parent ebf23e7ad7
commit 2718c15787
12 changed files with 72 additions and 0 deletions

View File

@@ -49,6 +49,12 @@ CFLAGS+= -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
.endif
.if ${OSVERSION} > 500023
LIB_DEPENDS+= gmp.3:${PORTSDIR}/math/libgmp
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
.endif
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 500005
CONFIGURE_ARGS+= --with-libs='-lxpg4'
.endif