summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2014-07-05 22:10:52 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2014-07-05 22:10:52 +0000
commitbdcd5921035bb2c1c3b615c4cfe8ba8c84854c59 (patch)
treebd07613253d5e86f71a25eccd67d1c87074f8894
parentlang/rexx-regina: Add DragonFly support (dports) (diff)
Fix few occurrences of /bin/bash.
Notes
Notes: svn path=/head/; revision=360830
-rw-r--r--devel/hadoop2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/hadoop2/Makefile b/devel/hadoop2/Makefile
index 6cb0206fff29..81c2cd9ca46b 100644
--- a/devel/hadoop2/Makefile
+++ b/devel/hadoop2/Makefile
@@ -63,6 +63,7 @@ post-patch:
${MKDIR} ${WRKDIR}/m2
${CP} ${FILESDIR}/settings.xml ${WRKDIR}
${REINPLACE_CMD} -e "s|WORK|${WRKDIR}|" ${WRKDIR}/settings.xml
+ ${REINPLACE_CMD} -e "s#/bin/bash#${LOCALBASE}/bin/bash#" ${WRKSRC}/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/DefaultContainerExecutor.java ${WRKSRC}/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java ${WRKSRC}/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java ${WRKSRC}/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java
do-build:
cd ${WRKSRC} && ${LOCALBASE}/bin/mvn -gs "${WRKDIR}/settings.xml" clean package -Pdist,native -DskipTests