devel/adacurses: Prevent building with base ncurses headers

It turns out that the C source files were getting built with the headers
from the base ncurses.  The recent update in Synth's display exposed a
resulting problem with the add chtype routines, resulting in garbled
output.  Since adacurses is a static library, synth requires a revbump.
This commit is contained in:
John Marino 2016-10-09 02:58:20 +00:00
parent 9073fd35f5
commit a7331d8a9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423563
2 changed files with 5 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= adacurses
PORTVERSION= 20150808
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= ftp://invisible-island.net/AdaCurses/
DISTNAME= AdaCurses-${PORTVERSION}
@ -13,10 +13,11 @@ COMMENT= Ada95 bindings for ncurses
LICENSE= MIT
USES= ada gmake ncurses:port tar:tgz
USES= ada gmake pkgconfig ncurses:port tar:tgz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ada-include=${PREFIX}/include/adacurses \
--with-ada-objects=${PREFIX}/lib/adacurses \
--with-curses-dir=${NCURSESBASE} \
--libdir=${PREFIX}/lib/adacurses \
--enable-widec
PORTDOCS= ada Ada95.html
@ -41,7 +42,7 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/gen/adacurses-config \
${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat
${SED} "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/adacurses.gpr.in > \
${SED} "s|@PREFIX@|${NCURSESBASE}|g" ${FILESDIR}/adacurses.gpr.in > \
${STAGEDIR}${PREFIX}/lib/gnat/adacurses.gpr
do-install-DOCS-on:

View File

@ -4,6 +4,7 @@
PORTNAME= synth
PORTVERSION= 1.54
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= ports-mgmt
MAINTAINER= marino@FreeBSD.org