Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 12:08:36 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343908 - head/devel/hadoop
Message-ID:  <201402121208.s1CC8a6x070383@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Wed Feb 12 12:08:35 2014
New Revision: 343908
URL: http://svnweb.freebsd.org/changeset/ports/343908
QAT: https://qat.redports.org/buildarchive/r343908/

Log:
  - install hdfs.h (libhdfs)
  - bump PORTREVISION
  
  PR:		186615
  Submitted by:	Gea-Suan Lin <gslin@gslin.org>
  Approved by:	pfg (maintainer)

Modified:
  head/devel/hadoop/Makefile
  head/devel/hadoop/pkg-plist

Modified: head/devel/hadoop/Makefile
==============================================================================
--- head/devel/hadoop/Makefile	Wed Feb 12 12:01:35 2014	(r343907)
+++ head/devel/hadoop/Makefile	Wed Feb 12 12:08:35 2014	(r343908)
@@ -3,6 +3,7 @@
 
 PORTNAME=	hadoop
 PORTVERSION=	1.2.1
+PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	${MASTER_SITE_APACHE}
 MASTER_SITE_SUBDIR=	${PORTNAME}/core/${PORTNAME}-${PORTVERSION}
@@ -21,7 +22,8 @@ RUN_DEPENDS=	bash:${PORTSDIR}/shells/bas
 USE_JAVA=	yes
 JAVA_VERSION=	1.6
 USE_ANT=	yes
-ONLY_FOR_ARCHS= amd64 i386
+ONLY_FOR_ARCHS=	amd64 i386
+USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DOCS
 
@@ -105,6 +107,7 @@ do-install:
 	${ECHO} "export HADOOP_PID_DIR=${HADOOP_RUNDIR}" > ${STAGEDIR}${ETCDIR}/envvars.d/004.hadoop_run.env
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${TAR} -cf - -C ${WRKSRC}/c++/${_HADOOP_ARCH} include lib | ${TAR} xf - -C ${STAGEDIR}${PREFIX}
+	${INSTALL_DATA} ${WRKSRC}/src/c++/libhdfs/hdfs.h ${STAGEDIR}${PREFIX}/include/hadoop/
 
 .for f in ${DEFAULTS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/devel/hadoop/pkg-plist
==============================================================================
--- head/devel/hadoop/pkg-plist	Wed Feb 12 12:01:35 2014	(r343907)
+++ head/devel/hadoop/pkg-plist	Wed Feb 12 12:08:35 2014	(r343908)
@@ -288,6 +288,7 @@ bin/hadoop
 @unexec if cmp -s %D/%%ETCDIR%%/fair-scheduler.xml %D/%%EXAMPLESDIR%%/conf/fair-scheduler.xml; then rm -f %D/%%ETCDIR%%/fair-scheduler.xml; fi
 %%EXAMPLESDIR%%/conf/fair-scheduler.xml
 @exec [ -f %D/%%ETCDIR%%/fair-scheduler.xml ] || cp %D/%%EXAMPLESDIR%%/conf/fair-scheduler.xml %D/%%ETCDIR%%
+include/hadoop/hdfs.h
 include/hadoop/StringUtils.hh
 include/hadoop/SerialUtils.hh
 include/hadoop/Pipes.hh



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