1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

lang/gnu-cobol: document ncurses requirement (USES+=ncurses)

Also link with ncurses, not curses

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-02-08 19:22:29 +00:00
parent bab6f180eb
commit ee2f8d2d50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408506

View File

@ -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>