Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2014 11:45:44 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371556 - head/devel/hadoop2
Message-ID:  <201410271145.s9RBjiSB007278@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Mon Oct 27 11:45:44 2014
New Revision: 371556
URL: https://svnweb.freebsd.org/changeset/ports/371556
QAT: https://qat.redports.org/buildarchive/r371556/

Log:
  Enable snappy compression codec.

Modified:
  head/devel/hadoop2/Makefile

Modified: head/devel/hadoop2/Makefile
==============================================================================
--- head/devel/hadoop2/Makefile	Mon Oct 27 11:30:54 2014	(r371555)
+++ head/devel/hadoop2/Makefile	Mon Oct 27 11:45:44 2014	(r371556)
@@ -3,7 +3,7 @@
 
 PORTNAME=	hadoop
 PORTVERSION=	2.4.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel java
 MASTER_SITES=	${MASTER_SITE_APACHE} \
 		LOCAL/demon/:maven \
@@ -23,6 +23,7 @@ LICENSE=	APACHE20
 BUILD_DEPENDS=	${LOCALBASE}/share/java/maven3/bin/mvn:${PORTSDIR}/devel/maven3 \
 		cmake:${PORTSDIR}/devel/cmake \
 		${LOCALBASE}/protobuf25/bin/protoc:${PORTSDIR}/devel/protobuf25
+LIB_DEPENDS=	libsnappy.so:${PORTSDIR}/archivers/snappy
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
 CONFLICTS_INSTALL=	apache-hadoop-1*
@@ -69,7 +70,7 @@ post-patch:
 do-build:
 	${MKDIR} ${WRKSRC}/hadoop-hdfs-project/hadoop-hdfs-httpfs/downloads
 	${CP} ${DISTDIR}/${DIST_SUBDIR}/apache-tomcat-${TOMCAT_VERSION}.tar.gz ${WRKSRC}/hadoop-hdfs-project/hadoop-hdfs-httpfs/downloads/
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/share/java/maven3/bin/mvn -Dmaven.repo.local=${WRKDIR}/m2 --offline clean package -Pdist,native -DskipTests
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/share/java/maven3/bin/mvn -Dmaven.repo.local=${WRKDIR}/m2 --offline clean package -Pdist,native -DskipTests -Drequire.snappy -Dsnappy.prefix=${LOCALBASE}
 
 post-build:
 	${RM} ${HADOOP_DIST}/etc/hadoop/*.cmd



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