Date: Mon, 26 Feb 2018 23:11:53 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463098 - head/textproc/elasticsearch6 Message-ID: <201802262311.w1QNBrHh049975@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Mon Feb 26 23:11:53 2018 New Revision: 463098 URL: https://svnweb.freebsd.org/changeset/ports/463098 Log: textproc/elasticsearch6: Fix JNA support JNA (Java Native Access) provides access to OS-native facilities in pure Java code. The JNA shipped with Elastic is meant for Linux so it does not function correctly. We will ship one built for FreeBSD instead. PR: 222261 Modified: head/textproc/elasticsearch6/Makefile Modified: head/textproc/elasticsearch6/Makefile ============================================================================== --- head/textproc/elasticsearch6/Makefile Mon Feb 26 23:10:53 2018 (r463097) +++ head/textproc/elasticsearch6/Makefile Mon Feb 26 23:11:53 2018 (r463098) @@ -3,7 +3,7 @@ PORTNAME= elasticsearch PORTVERSION= 6.2.2 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= textproc java devel MASTER_SITES= https://artifacts.elastic.co/downloads/${PORTNAME}/ \ http://mirrors.rit.edu/zi/ @@ -15,6 +15,7 @@ COMMENT= Full-text search engine for Java LICENSE= APACHE20 RUN_DEPENDS= bash>0:shells/bash +BUILD_DEPENDS= jna>0:devel/jna CONFLICTS= elasticsearch-[0-9]* elasticsearch2-[0-9]* elasticsearch5-[0-9]* @@ -51,6 +52,7 @@ SUB_FILES= pkg-message post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/config/elasticsearch.yml ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/elasticsearch + ${RM} ${WRKSRC}/lib/jna-*.jar do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/elasticsearch @@ -69,6 +71,7 @@ do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/elasticsearch ${INSTALL} -lrs ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin/elasticsearch-plugin ${STAGEDIR}${PREFIX}/bin/elasticsearch-plugin + ${INSTALL} -lrs ${JAVASHAREDIR}/classes/jna.jar ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib/jna.jar do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802262311.w1QNBrHh049975>