Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2017 12:38:09 +0000 (UTC)
From:      =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453113 - head/lang/rust
Message-ID:  <201710291238.v9TCc9Gk055219@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell
Date: Sun Oct 29 12:38:09 2017
New Revision: 453113
URL: https://svnweb.freebsd.org/changeset/ports/453113

Log:
  lang/rust: Fix paths in `manifest-rls-preview`
  
  Like other manifests, without this, it still references the stage
  directory. This error is reported when DEVELOPER=YES is set.
  
  While here, strip `bin/rls`.
  
  Reported by:	bar@, cpm@

Modified:
  head/lang/rust/Makefile

Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile	Sun Oct 29 12:37:59 2017	(r453112)
+++ head/lang/rust/Makefile	Sun Oct 29 12:38:09 2017	(r453113)
@@ -3,6 +3,7 @@
 
 PORTNAME=	rust
 PORTVERSION?=	1.21.0
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://static.rust-lang.org/dist/:src \
 		LOCAL/dumbbell/rust:rust_bootstrap \
@@ -82,6 +83,7 @@ LLVM_CONFIG=			${LOCALBASE}/bin/llvm-config${LLVM_VER}
 #     - pre-install to cleanup the ${STAGEDIR}
 #     - post-install to populate the ${TMPPLIST}
 RUST_MANIFESTS=		lib/rustlib/manifest-cargo \
+			lib/rustlib/manifest-rls-preview \
 			lib/rustlib/manifest-rustc \
 			lib/rustlib/manifest-rust-analysis-${RUST_TARGET} \
 			lib/rustlib/manifest-rust-std-${RUST_TARGET}
@@ -321,6 +323,7 @@ post-install:
 # but they contain non-object files which make strip(1) unhappy.
 	@${STRIP_CMD} \
 		${STAGEDIR}${PREFIX}/bin/cargo \
+		${STAGEDIR}${PREFIX}/bin/rls \
 		${STAGEDIR}${PREFIX}/bin/rustc \
 		${STAGEDIR}${PREFIX}/bin/rustdoc \
 		${STAGEDIR}${PREFIX}/lib/*.so \



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