svn commit: r423563 - in head: devel/adacurses ports-mgmt/synth

John Marino marino at FreeBSD.org
Sun Oct 9 02:58:22 UTC 2016


Author: marino
Date: Sun Oct  9 02:58:20 2016
New Revision: 423563
URL: https://svnweb.freebsd.org/changeset/ports/423563

Log:
  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.

Modified:
  head/devel/adacurses/Makefile
  head/ports-mgmt/synth/Makefile

Modified: head/devel/adacurses/Makefile
==============================================================================
--- head/devel/adacurses/Makefile	Sun Oct  9 01:32:25 2016	(r423562)
+++ head/devel/adacurses/Makefile	Sun Oct  9 02:58:20 2016	(r423563)
@@ -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:

Modified: head/ports-mgmt/synth/Makefile
==============================================================================
--- head/ports-mgmt/synth/Makefile	Sun Oct  9 01:32:25 2016	(r423562)
+++ head/ports-mgmt/synth/Makefile	Sun Oct  9 02:58:20 2016	(r423563)
@@ -4,6 +4,7 @@
 PORTNAME=	synth
 PORTVERSION=	1.54
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 
 MAINTAINER=	marino at FreeBSD.org


More information about the svn-ports-head mailing list