diff --git a/devel/adacurses/Makefile b/devel/adacurses/Makefile index 1f4c22f39fd5..8ce60efa0c10 100644 --- a/devel/adacurses/Makefile +++ b/devel/adacurses/Makefile @@ -13,7 +13,7 @@ COMMENT= Ada95 bindings for ncurses LICENSE= MIT -USES= ada gmake ncurses tar:tgz +USES= ada gmake tar:tgz GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ada-include=${PREFIX}/include/adacurses \ --with-ada-objects=${PREFIX}/lib/adacurses \ @@ -26,8 +26,19 @@ MAKE_JOBS_UNSAFE= yes .include +.if ${OPSYS} == FreeBSD && ${OSREL:R} == 11 +# PR 199109 The base ncurses has suffered a regression which prevents +# adacurses from building on -CURRENT. The PR is not getting any attention +# and I'm sick of never-ending fallout messages so bring back ports ncurses +# for the FreeBSD 11 users. +USES+= ncurses:port +.else +USES+= ncurses +.endif + post-patch: @${REINPLACE_CMD} -e 's|#if A|#ifdef A|g' ${WRKSRC}/gen/gen.c + @${REINPLACE_CMD} -e '/(INSTALL_PROG)/d' ${WRKSRC}/gen/Makefile.in post-install: ${INSTALL_SCRIPT} ${WRKSRC}/gen/adacurses-config \