aboutsummaryrefslogtreecommitdiff
path: root/devel/hadoop2
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2014-10-27 11:45:44 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2014-10-27 11:45:44 +0000
commita485dfe5e7a0b75eac68f32d91e816ec487d962a (patch)
treedfa97cc23022e9d46ecbc3b6255dd71ea0ab66cb /devel/hadoop2
parent32104268e002fa3bc03398345622f1d5522176b0 (diff)
downloadports-a485dfe5e7a0b75eac68f32d91e816ec487d962a.tar.gz
ports-a485dfe5e7a0b75eac68f32d91e816ec487d962a.zip
Notes
Diffstat (limited to 'devel/hadoop2')
-rw-r--r--devel/hadoop2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/hadoop2/Makefile b/devel/hadoop2/Makefile
index f3f27fd55f9b..f8f3e6a8f650 100644
--- a/devel/hadoop2/Makefile
+++ b/devel/hadoop2/Makefile
@@ -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