Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 14:54:53 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386221 - in head: devel/libiomp5-devel devel/llvm-devel lang/clang-devel
Message-ID:  <201505131454.t4DEsroq025917@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Wed May 13 14:54:53 2015
New Revision: 386221
URL: https://svnweb.freebsd.org/changeset/ports/386221

Log:
  Use svnlite in the maintainer BOOTSTRAP target.
  
  Requested by:	xmj

Modified:
  head/devel/libiomp5-devel/Makefile
  head/devel/llvm-devel/Makefile
  head/lang/clang-devel/Makefile

Modified: head/devel/libiomp5-devel/Makefile
==============================================================================
--- head/devel/libiomp5-devel/Makefile	Wed May 13 14:52:24 2015	(r386220)
+++ head/devel/libiomp5-devel/Makefile	Wed May 13 14:54:53 2015	(r386221)
@@ -42,11 +42,10 @@ BROKEN=		Only builds on amd64, arm, aarc
 .include "${.CURDIR}/../../devel/llvm-devel/Makefile.svn_rev"
 
 .if defined(BOOTSTRAP) || defined(SVN_FETCH)
-FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion
-
+SVN?=	svnlite
 do-fetch:
 	${MKDIR} ${WRKDIR}
-	svn export -r ${SVN_REV} \
+	${SVN} export -r ${SVN_REV} \
 	    http://llvm.org/svn/llvm-project/openmp/trunk ${WRKDIR}/${DISTNAME}
 	cd ${WRKDIR}; tar cvfJ ${DISTDIR}/${DISTNAME}.tar.xz ${DISTNAME}
 .if ${USER} == brooks || ${USER} == bed22

Modified: head/devel/llvm-devel/Makefile
==============================================================================
--- head/devel/llvm-devel/Makefile	Wed May 13 14:52:24 2015	(r386220)
+++ head/devel/llvm-devel/Makefile	Wed May 13 14:54:53 2015	(r386221)
@@ -130,10 +130,11 @@ NOT_FOR_ARCH=	ia64
 BROKEN=	GCC failing on 8.x
 .endif
 
+SVN?=	svnlite
 .if !defined(SVN_REV)
 .if defined(BOOTSTRAP)
 LANG=		"C"
-SVN_REV!=	svn info http://llvm.org/svn/llvm-project/ | ${GREP} Revision | cut -d' ' -f2
+SVN_REV!=	${SVN} info http://llvm.org/svn/llvm-project/ | ${GREP} Revision | cut -d' ' -f2
 .else
 .include "Makefile.svn_rev"
 .endif
@@ -148,11 +149,9 @@ CONFIGURE_ARGS+=	--with-optimize-option=
 .endif
 
 .if defined(BOOTSTRAP) || defined(SVN_FETCH)
-FETCH_DEPENDS+=	svn:${PORTSDIR}/devel/subversion
-
 do-fetch:
 	${MKDIR} ${WRKDIR}
-	svn export -r ${SVN_REV} \
+	${SVN} export -r ${SVN_REV} \
 	    http://llvm.org/svn/llvm-project/llvm/trunk ${WRKSRC}
 	cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME}
 	echo "SVN_REV=	${SVN_REV}" > ${MASTERDIR}/Makefile.svn_rev

Modified: head/lang/clang-devel/Makefile
==============================================================================
--- head/lang/clang-devel/Makefile	Wed May 13 14:52:24 2015	(r386220)
+++ head/lang/clang-devel/Makefile	Wed May 13 14:54:53 2015	(r386221)
@@ -101,11 +101,11 @@ pre-fetch:
 .endif
 
 .if defined(BOOTSTRAP) || defined(SVN_FETCH)
-FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion
+SVN?=	svnlite
 
 do-fetch:
 	${MKDIR} ${WRKDIR}
-	svn export -r ${SVN_REV} \
+	${SVN} export -r ${SVN_REV} \
 	    http://llvm.org/svn/llvm-project/cfe/trunk ${WRKDIR}/${CLANG_NAME}
 	cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME}
 .if ${USER} == brooks || ${USER} == bed22



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