summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2018-10-18 11:49:46 +0000
committermartin <martin@pkgsrc.org>2018-10-18 11:49:46 +0000
commitee1ff48210a8ea5afe6ea2a21b757d56fcc3dd07 (patch)
tree6fa2b3e5cab6592c0908810d5fce7ba3807f0624 /lang/rust
parent163bfcac19ecd65decd41171a3e0821c8c76480e (diff)
downloadpkgsrc-ee1ff48210a8ea5afe6ea2a21b757d56fcc3dd07.tar.gz
Fix ${WRKDIR} reference, hint from leot
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index c371ff34c01..1a8ae873374 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2018/10/17 08:39:13 jperkin Exp $
+# $NetBSD: Makefile,v 1.60 2018/10/18 11:49:46 martin Exp $
DISTNAME= rustc-1.29.1-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -62,7 +62,7 @@ CONFIGURE_ARGS.SunOS+= --disable-jemalloc
# Getting RPATH with $ORIGIN into bootstrap may be troublesome, so
# uncommenting the LD_LIBRARY_PATH setting may be required to run
# the bootstrap
-MAKE_ENV+= LD_LIBRARY_PATH=${.CURDIR}/work/rust-bootstrap/lib
+MAKE_ENV+= LD_LIBRARY_PATH=${WRKDIR}/rust-bootstrap/lib
.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc)
# Bootstrapping on NetBSD/powerpc requires no debug-info from rustc