aboutsummaryrefslogtreecommitdiff
path: root/devel/py-maturin/Makefile
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-09-10 08:13:23 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2021-09-10 08:21:28 +0000
commit9993ff909caebf3849ce6fd5bbaad81672f5a351 (patch)
treefcdbe2fae1541ae13461e3a41b17646a1e232b5f /devel/py-maturin/Makefile
parent1238343e231820015e0fad3130aa38331759ccf8 (diff)
downloadports-9993ff909caebf3849ce6fd5bbaad81672f5a351.tar.gz
ports-9993ff909caebf3849ce6fd5bbaad81672f5a351.zip
devel/py-maturin: Unbreak with CARGO_BUILD_TARGET in the environment (D31872)
error: can't copy '/wrkdirs/usr/ports/devel/py-maturin/work-py38/maturin-0.8.3/target/release/maturin': doesn't exist or not a regular file http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-09-09_14h16m24s/logs/errors/py38-maturin-0.8.3_8.log PR: 258337
Diffstat (limited to 'devel/py-maturin/Makefile')
-rw-r--r--devel/py-maturin/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/py-maturin/Makefile b/devel/py-maturin/Makefile
index 990e64880778..a955f349f6fc 100644
--- a/devel/py-maturin/Makefile
+++ b/devel/py-maturin/Makefile
@@ -259,6 +259,7 @@ CARGO_CRATES= addr2line-0.13.0 \
CARGO_BUILD= no
CARGO_INSTALL= no
CARGO_TARGET_DIR= ${WRKSRC}/target
+MAKE_ENV= ${CARGO_ENV}
# The binary is usually built via setup.py which uses different compiler flags.
# That line is patched out there to use the compiler flags from the Ports