Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 19:17:38 +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: r408444 - head/devel/libreadline-java
Message-ID:  <201602071917.u17JHcA2080024@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Feb  7 19:17:37 2016
New Revision: 408444
URL: https://svnweb.freebsd.org/changeset/ports/408444

Log:
  devel/libreadline-java: USES+= ncurses, link to ncurses (not termcap)

Modified:
  head/devel/libreadline-java/Makefile

Modified: head/devel/libreadline-java/Makefile
==============================================================================
--- head/devel/libreadline-java/Makefile	Sun Feb  7 19:15:06 2016	(r408443)
+++ head/devel/libreadline-java/Makefile	Sun Feb  7 19:17:37 2016	(r408444)
@@ -20,7 +20,7 @@ PLIST_FILES=	%%JAVAJARDIR%%/libreadline-
 		lib/libJavaEditline.so \
 		lib/libJavaGetline.so
 PORTDOCS=	README.1st README jython.sh JReadlineCompleter.py
-USES=		gmake libedit readline
+USES=		gmake libedit ncurses readline
 USE_JAVA=	yes
 USE_LDCONFIG=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -28,6 +28,10 @@ MAKE_JOBS_UNSAFE=	yes
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' \
+		${WRKSRC}/src/native/Makefile
+
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/libreadline-java.jar \
 		${STAGEDIR}${JAVAJARDIR}



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