svn commit: r408208 - head/chinese/cless

John Marino marino at FreeBSD.org
Fri Feb 5 15:30:39 UTC 2016


Author: marino
Date: Fri Feb  5 15:30:38 2016
New Revision: 408208
URL: https://svnweb.freebsd.org/changeset/ports/408208

Log:
  chinese/cless: USES+= ncurses, link to libncurses, not libtermcap

Modified:
  head/chinese/cless/Makefile

Modified: head/chinese/cless/Makefile
==============================================================================
--- head/chinese/cless/Makefile	Fri Feb  5 15:29:05 2016	(r408207)
+++ head/chinese/cless/Makefile	Fri Feb  5 15:30:38 2016	(r408208)
@@ -11,12 +11,16 @@ COMMENT=	Better pager utility (and it sp
 
 LICENSE=	BSD2CLAUSE
 
+USES=		ncurses
 GNU_CONFIGURE=	yes
 CFLAGS+=	-DHANZI # LDFLAGS=-s datadir=/usr/local/lib/less
 CPP=		#
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/configure
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.CLESS ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-all mailing list