Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2021 14:25:38 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        ports@freebsd.org
Subject:   crosstools and error in bsd.port.mk
Message-ID:  <2073806516.1.1633523138119@mailrelay>

next in thread | raw e-mail | index | archive | help
------=_Part_0_362159945.1633523138011
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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.
 
------=_Part_0_362159945.1633523138011--



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