svn commit: r408444 - head/devel/libreadline-java
John Marino
marino at FreeBSD.org
Sun Feb 7 19:17:39 UTC 2016
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}
More information about the svn-ports-all
mailing list