crosstools and error in bsd.port.mk

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Wed, 06 Oct 2021 12:25:38 UTC
Hi,

Lately I was experimenting with CROSS_TOOLCHAIN and got an error in Mk/bsd.port.mk.

I found .export.env is not existing, but .export-env is. See make(1) and search for .export-env.

Does this seem reasonable or am I on the wrong road?


diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 866f45586523..a402352992ea 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1091,7 +1091,7 @@ LD+=              --sysroot=${CROSS_SYSROOT}
 STRIP_CMD=     ${CROSS_BINUTILS_PREFIX}strip
 # only bmake support the below
 STRIPBIN=      ${STRIP_CMD}
-.export.env STRIPBIN
+.export-env STRIPBIN
 .endif


Regards,
Ronald.