aboutsummaryrefslogtreecommitdiff
path: root/devel/hadoop2
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2014-10-04 21:51:58 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2014-10-04 21:51:58 +0000
commit945d5797774c4006a8a6bef0b3554673988f3d2d (patch)
treeeea981e10fa420f1496b16efc2bc29c023faa46d /devel/hadoop2
parent8f3fa1023ffb11be4f190b68b7185b4f57b3d158 (diff)
downloadports-945d5797774c4006a8a6bef0b3554673988f3d2d.tar.gz
ports-945d5797774c4006a8a6bef0b3554673988f3d2d.zip
Notes
Diffstat (limited to 'devel/hadoop2')
-rw-r--r--devel/hadoop2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/hadoop2/Makefile b/devel/hadoop2/Makefile
index a5ab4e21b961..5cb3f2b8a3d6 100644
--- a/devel/hadoop2/Makefile
+++ b/devel/hadoop2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= hadoop
PORTVERSION= 2.4.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE} \
LOCAL/demon/:maven \
@@ -32,7 +32,7 @@ USE_JAVA= yes
JAVA_VERSION= 1.7+
USE_LDCONFIG= yes
SHEBANG_FILES= hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
-MAKE_ENV+= HADOOP_PROTOC_PATH=${LOCALBASE}/bin/protoc
+MAKE_ENV+= HADOOP_PROTOC_PATH=${LOCALBASE}/protobuf25/bin/protoc
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
TOMCAT_VERSION= 6.0.36
@@ -69,7 +69,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} && ${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
post-build:
${RM} ${HADOOP_DIST}/etc/hadoop/*.cmd