Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2016 19:22:29 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408506 - head/lang/gnu-cobol
Message-ID:  <201602081922.u18JMTvN005864@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Feb  8 19:22:29 2016
New Revision: 408506
URL: https://svnweb.freebsd.org/changeset/ports/408506

Log:
  lang/gnu-cobol: document ncurses requirement (USES+=ncurses)
  
  Also link with ncurses, not curses
  
  approved by:	infrastructure blanket

Modified:
  head/lang/gnu-cobol/Makefile

Modified: head/lang/gnu-cobol/Makefile
==============================================================================
--- head/lang/gnu-cobol/Makefile	Mon Feb  8 19:20:55 2016	(r408505)
+++ head/lang/gnu-cobol/Makefile	Mon Feb  8 19:22:29 2016	(r408506)
@@ -13,7 +13,7 @@ COMMENT=	Open-source COBOL compiler
 LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp
 
 USE_BDB=	yes
-USES=		gmake libtool
+USES=		gmake libtool ncurses
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 
@@ -30,6 +30,7 @@ CONFIGURE_ENABLE=nls
 post-patch:
 	@${REINPLACE_CMD} -e 's|__gmp_randinit|__gmpz_init|g ; \
 		 s|db-4.[0-9]|${BDB_LIB_NAME}|g ; \
+		 s|-lcurses|-lncurses|g ; \
 		 s|-R$$found_dir|-Wl,-rpath,$$found_dir|g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602081922.u18JMTvN005864>