svn commit: r448218 - head/devel/bazel

Mathieu Arnold mat at FreeBSD.org
Fri Aug 18 10:53:57 UTC 2017


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
 


More information about the svn-ports-all mailing list