archivers/snappy-java does not install native library now. When using the experimental intellij port(PR ports/177300), it failed to load the libsnappyjava.so which should come from this port. This file is built by this port. It's just not installed. Fix: Patch attached with submission follows: How-To-Repeat: 1. Install archivers/snappy-java. 2. libsnappyjava.so is missing.
Maintainer of archivers/snappy-java, Please note that PR ports/185794 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/185794 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->pawel I'll take it.
Author: pawel Date: Sat Feb 1 13:01:24 2014 New Revision: 342131 URL: http://svnweb.freebsd.org/changeset/ports/342131 QAT: https://qat.redports.org/buildarchive/r342131/ Log: - Install native library [1] - Support staging PR: ports/185794 [1] Submitted by: Henry Hu <henry.hu.sh@gmail.com> Modified: head/archivers/snappy-java/Makefile Modified: head/archivers/snappy-java/Makefile ============================================================================== --- head/archivers/snappy-java/Makefile Sat Feb 1 12:56:41 2014 (r342130) +++ head/archivers/snappy-java/Makefile Sat Feb 1 13:01:24 2014 (r342131) @@ -7,6 +7,7 @@ PORTNAME= snappy PORTVERSION= 1.0.4.1 +PORTREVISION= 1 CATEGORIES= archivers java MASTER_SITES= GITHUB:source1 \ http://snappy.googlecode.com/files/:source2 \ @@ -31,13 +32,13 @@ GH_TAGNAME= snappy-java-${PORTVERSION} GH_COMMIT= 487f82d USE_GITHUB= yes -NO_STAGE= yes USE_JAVA= yes JAVA_VERSION= 1.7 USES= gmake +USE_LDCONFIG= yes MAKE_ARGS+= Default_CXX=${CXX} -PLIST_FILES= %%JAVAJARDIR%%/snappy-java.jar +PLIST_FILES= %%JAVAJARDIR%%/snappy-java.jar lib/libsnappyjava.so post-patch-script: @${REINPLACE_CMD} -e 's|curl.*||g' \ @@ -54,6 +55,9 @@ do-build: pre-build ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} && ${LOCALBASE}/share/java/maven3/bin/mvn -Dmaven.repo.local=${WRKDIR}/repository --offline test do-install: - ${INSTALL_DATA} ${WRKSRC}/target/snappy-java-${PORTVERSION}.jar ${JAVAJARDIR}/snappy-java.jar + ${INSTALL_DATA} ${WRKSRC}/target/snappy-java-${PORTVERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/snappy-java.jar + ${INSTALL_LIB} ${WRKSRC}/target/snappy-${PORTVERSION:R}-Default/libsnappyjava.so \ + ${STAGEDIR}${LOCALBASE}/lib .include <bsd.port.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!