Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2017 10:53:56 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448218 - head/devel/bazel
Message-ID:  <201708181053.v7IAruCE077237@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Aug 18 10:53:56 2017
New Revision: 448218
URL: https://svnweb.freebsd.org/changeset/ports/448218

Log:
  Correctly tell the ports tree that this should not be stripped.
  
  Sponsored by:	Absolight

Modified:
  head/devel/bazel/Makefile   (contents, props changed)

Modified: head/devel/bazel/Makefile
==============================================================================
--- head/devel/bazel/Makefile	Fri Aug 18 10:53:34 2017	(r448217)
+++ head/devel/bazel/Makefile	Fri Aug 18 10:53:56 2017	(r448218)
@@ -40,6 +40,8 @@ CLANG38_DESC=	Use clang38 as default crosstool
 CLANG38_BUILD_DEPENDS=	clang38:devel/llvm38
 CLANG38_RUN_DEPENDS=	clang38:devel/llvm38
 
+STRIP=	# The bazel binary is also a zip archive (extracted by the elf part), it must not be stripped
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "i386"
@@ -73,8 +75,7 @@ do-build:
 	${LOCALBASE}/bin/bash ./compile.sh)
 
 do-install:
-	# The bazel binary is also a zip archive (extracted by the elf part), hence cannot be stripped
-	${CP} ${WRKSRC}/output/bazel ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/output/bazel ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${ETCDIR}
 	${INSTALL_DATA} ${WRKSRC}/scripts/packages/debian/bazel.bazelrc ${STAGEDIR}${ETCDIR}/bazel.bazelrc.sample
 



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