devel/adacurses: allow base ncurses where newer ncurses is available
This commit is contained in:
parent
10fd6e1449
commit
2ba6e0bd2b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561928
1 changed files with 9 additions and 1 deletions
|
@ -13,7 +13,7 @@ COMMENT= Ada95 bindings for ncurses
|
|||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/README
|
||||
|
||||
USES= ada gmake pkgconfig ncurses:port tar:tgz
|
||||
USES= ada gmake pkgconfig tar:tgz
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-ada-include=${PREFIX}/include/adacurses \
|
||||
--with-ada-objects=${PREFIX}/lib/adacurses \
|
||||
|
@ -47,4 +47,12 @@ do-install-DOCS-on:
|
|||
(cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} \
|
||||
${MAKE_CMD} ${MAKE_ARGS} THIS=${PORTNAME} install.html)
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
|
||||
USES+= ncurses
|
||||
.else
|
||||
USES+= ncurses:port
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue