diff options
author | demon <demon@FreeBSD.org> | 2014-10-27 19:45:44 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2014-10-27 19:45:44 +0800 |
commit | 7dee21d95513dd0960e6976a0623dd7658215140 (patch) | |
tree | dfa97cc23022e9d46ecbc3b6255dd71ea0ab66cb /devel/hadoop2 | |
parent | bd7a4af8b1b84d21880a6f72058df021ba0ebce1 (diff) | |
download | freebsd-ports-gnome-7dee21d95513dd0960e6976a0623dd7658215140.tar.gz freebsd-ports-gnome-7dee21d95513dd0960e6976a0623dd7658215140.tar.zst freebsd-ports-gnome-7dee21d95513dd0960e6976a0623dd7658215140.zip |
Enable snappy compression codec.
Diffstat (limited to 'devel/hadoop2')
-rw-r--r-- | devel/hadoop2/Makefile | 5 |
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 |