Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2016 10:46:02 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413196 - in head/security/clambc: . files
Message-ID:  <201604131046.u3DAk23R002172@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Apr 13 10:46:01 2016
New Revision: 413196
URL: https://svnweb.freebsd.org/changeset/ports/413196

Log:
  security/clambc: convert to CONFIGURE_OUTSOURCE
  
  Approved by:	portmgr blanket
  Differential Revision:	https://reviews.freebsd.org/D5895

Modified:
  head/security/clambc/Makefile   (contents, props changed)
  head/security/clambc/files/patch-clang_lib_Driver_ToolChains.cpp   (contents, props changed)
  head/security/clambc/files/patch-clang_lib_Frontend_CompilerInvocation.cpp   (contents, props changed)
  head/security/clambc/files/patch-clang_lib_Headers_CMakeLists.txt   (contents, props changed)
  head/security/clambc/files/patch-clang_lib_Headers_Makefile   (contents, props changed)
  head/security/clambc/files/patch-clang_lib_Runtime_Makefile   (contents, props changed)
  head/security/clambc/files/patch-clang_tools_CIndex_CIndexer.cpp   (contents, props changed)
  head/security/clambc/files/patch-docs_user_building.tex   (contents, props changed)
  head/security/clambc/files/patch-docs_user_html_clambc-user.html   (contents, props changed)

Modified: head/security/clambc/Makefile
==============================================================================
--- head/security/clambc/Makefile	Wed Apr 13 10:45:16 2016	(r413195)
+++ head/security/clambc/Makefile	Wed Apr 13 10:46:01 2016	(r413196)
@@ -14,27 +14,25 @@ LICENSE=	GPLv2
 USES=		gmake libtool perl5
 ALL_TARGET=	clambc-only
 GNU_CONFIGURE=	yes
+CONFIGURE_OUTSOURCE=	yes
 USE_GCC=	any
 USE_LDCONFIG=	yes
 USE_PERL5=	build
-CONFIGURE_SCRIPT=../llvm/configure
+CONFIGURE_SCRIPT=llvm/configure
 CONFIGURE_ARGS=	--enable-optimized --enable-targets=host-only \
 		--disable-bindings --enable-bindings=none
 
-WRKSRC=		${WRKDIR}/clamav-bytecode-compiler-${DISTNAME}/obj
+WRKSRC=		${WRKDIR}/clamav-bytecode-compiler-${DISTNAME}
 
 MAKE_JOBS_UNSAFE=	yes
 
-post-extract:
-	@${MKDIR} ${WRKSRC}
-
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}/include/
-	@${RM} ${WRKSRC}/../clang/lib/Headers/CMakeLists.txt \
-		${WRKSRC}/../clang/lib/Headers/Makefile
-	(cd ${WRKSRC}/../clang/lib/Headers/ && ${COPYTREE_SHARE} . \
+	@${RM} ${WRKSRC}/clang/lib/Headers/CMakeLists.txt \
+		${WRKSRC}/clang/lib/Headers/Makefile
+	(cd ${WRKSRC}/clang/lib/Headers/ && ${COPYTREE_SHARE} . \
 		${STAGEDIR}${DATADIR}/include/)
-	${INSTALL_PROGRAM} ${WRKSRC}/Release/bin/clambc-compiler \
+	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/Release/bin/clambc-compiler \
 		${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>

Modified: head/security/clambc/files/patch-clang_lib_Driver_ToolChains.cpp
==============================================================================
--- head/security/clambc/files/patch-clang_lib_Driver_ToolChains.cpp	Wed Apr 13 10:45:16 2016	(r413195)
+++ head/security/clambc/files/patch-clang_lib_Driver_ToolChains.cpp	Wed Apr 13 10:46:01 2016	(r413196)
@@ -1,6 +1,6 @@
---- ../clang/lib/Driver/ToolChains.cpp~	2014-11-10 13:04:47.000000000 -0500
-+++ ../clang/lib/Driver/ToolChains.cpp	2014-11-18 12:24:07.772342155 -0500
-@@ -895,7 +895,7 @@
+--- clang/lib/Driver/ToolChains.cpp.orig	2014-11-10 18:04:47 UTC
++++ clang/lib/Driver/ToolChains.cpp
+@@ -895,7 +895,7 @@ Tool &AuroraUX::SelectTool(const Compila
  
  Linux::Linux(const HostInfo &Host, const llvm::Triple& Triple)
    : Generic_GCC(Host, Triple) {

Modified: head/security/clambc/files/patch-clang_lib_Frontend_CompilerInvocation.cpp
==============================================================================
--- head/security/clambc/files/patch-clang_lib_Frontend_CompilerInvocation.cpp	Wed Apr 13 10:45:16 2016	(r413195)
+++ head/security/clambc/files/patch-clang_lib_Frontend_CompilerInvocation.cpp	Wed Apr 13 10:46:01 2016	(r413196)
@@ -1,5 +1,5 @@
---- ../clang/lib/Frontend/CompilerInvocation.cpp.orig
-+++ ../clang/lib/Frontend/CompilerInvocation.cpp
+--- clang/lib/Frontend/CompilerInvocation.cpp.orig	2014-11-10 18:04:47 UTC
++++ clang/lib/Frontend/CompilerInvocation.cpp
 @@ -993,9 +993,8 @@ std::string CompilerInvocation::GetResourcesPath(const char *Argv0,
      P.eraseComponent();  // Remove /bin   from foo/bin
  

Modified: head/security/clambc/files/patch-clang_lib_Headers_CMakeLists.txt
==============================================================================
--- head/security/clambc/files/patch-clang_lib_Headers_CMakeLists.txt	Wed Apr 13 10:45:16 2016	(r413195)
+++ head/security/clambc/files/patch-clang_lib_Headers_CMakeLists.txt	Wed Apr 13 10:46:01 2016	(r413196)
@@ -1,5 +1,5 @@
---- ../clang/lib/Headers/CMakeLists.txt.orig
-+++ ../clang/lib/Headers/CMakeLists.txt
+--- clang/lib/Headers/CMakeLists.txt.orig	2014-11-10 18:04:47 UTC
++++ clang/lib/Headers/CMakeLists.txt
 @@ -17,7 +17,7 @@ set(files
  if (MSVC_IDE OR XCODE)
    set(output_dir ${LLVM_BINARY_DIR}/bin/lib/clang/${CLANG_VERSION}/include)

Modified: head/security/clambc/files/patch-clang_lib_Headers_Makefile
==============================================================================
--- head/security/clambc/files/patch-clang_lib_Headers_Makefile	Wed Apr 13 10:45:16 2016	(r413195)
+++ head/security/clambc/files/patch-clang_lib_Headers_Makefile	Wed Apr 13 10:46:01 2016	(r413196)
@@ -1,5 +1,5 @@
---- ../clang/lib/Headers/Makefile.orig
-+++ ../clang/lib/Headers/Makefile
+--- clang/lib/Headers/Makefile.orig	2014-11-10 18:04:47 UTC
++++ clang/lib/Headers/Makefile
 @@ -12,7 +12,7 @@ include $(LEVEL)/Makefile.common
  
  CLANG_VERSION := $(shell cat $(PROJ_SRC_DIR)/../../VER)

Modified: head/security/clambc/files/patch-clang_lib_Runtime_Makefile
==============================================================================
--- head/security/clambc/files/patch-clang_lib_Runtime_Makefile	Wed Apr 13 10:45:16 2016	(r413195)
+++ head/security/clambc/files/patch-clang_lib_Runtime_Makefile	Wed Apr 13 10:46:01 2016	(r413196)
@@ -1,5 +1,5 @@
---- ../clang/lib/Runtime/Makefile.orig
-+++ ../clang/lib/Runtime/Makefile
+--- clang/lib/Runtime/Makefile.orig	2014-11-10 18:04:47 UTC
++++ clang/lib/Runtime/Makefile
 @@ -17,8 +17,8 @@ LEVEL = ../../../..
  include $(LEVEL)/Makefile.common
  

Modified: head/security/clambc/files/patch-clang_tools_CIndex_CIndexer.cpp
==============================================================================
--- head/security/clambc/files/patch-clang_tools_CIndex_CIndexer.cpp	Wed Apr 13 10:45:16 2016	(r413195)
+++ head/security/clambc/files/patch-clang_tools_CIndex_CIndexer.cpp	Wed Apr 13 10:46:01 2016	(r413196)
@@ -1,5 +1,5 @@
---- ../clang/tools/CIndex/CIndexer.cpp.orig
-+++ ../clang/tools/CIndex/CIndexer.cpp
+--- clang/tools/CIndex/CIndexer.cpp.orig	2014-11-10 18:04:47 UTC
++++ clang/tools/CIndex/CIndexer.cpp
 @@ -87,9 +87,8 @@ std::string CIndexer::getClangResourcesPath() {
      P.eraseComponent();  // Remove /bin   from foo/bin
  

Modified: head/security/clambc/files/patch-docs_user_building.tex
==============================================================================
--- head/security/clambc/files/patch-docs_user_building.tex	Wed Apr 13 10:45:16 2016	(r413195)
+++ head/security/clambc/files/patch-docs_user_building.tex	Wed Apr 13 10:46:01 2016	(r413196)
@@ -1,5 +1,5 @@
---- ../docs/user/building.tex.orig
-+++ ../docs/user/building.tex
+--- docs/user/building.tex.orig	2014-11-10 18:04:47 UTC
++++ docs/user/building.tex
 @@ -96,7 +96,7 @@ $ make install-clambc -j8
  \verb+$PREFIX/bin/clambc-compiler+
  \item  ClamAV bytecode header files:

Modified: head/security/clambc/files/patch-docs_user_html_clambc-user.html
==============================================================================
--- head/security/clambc/files/patch-docs_user_html_clambc-user.html	Wed Apr 13 10:45:16 2016	(r413195)
+++ head/security/clambc/files/patch-docs_user_html_clambc-user.html	Wed Apr 13 10:46:01 2016	(r413196)
@@ -1,5 +1,5 @@
---- ../docs/user/html/clambc-user.html.orig
-+++ ../docs/user/html/clambc-user.html
+--- docs/user/html/clambc-user.html.orig	2014-11-10 18:04:47 UTC
++++ docs/user/html/clambc-user.html
 @@ -233,7 +233,7 @@ class="ec-lmtt-10">$PREFIX/bin/clambc-compiler</span></span></span>
  
                                                                                  



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