svn commit: r408506 - head/lang/gnu-cobol

John Marino marino at FreeBSD.org
Mon Feb 8 19:22:30 UTC 2016


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>


More information about the svn-ports-all mailing list