Received: by mail.netbsd.org (Postfix, from userid 605) id 0F28B84DD2; Tue, 9 Jul 2019 15:45:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8BA5D84D5A for ; Tue, 9 Jul 2019 15:45:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id wScdWWT_6ddZ for ; Tue, 9 Jul 2019 15:45:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id E225384CD5 for ; Tue, 9 Jul 2019 15:45:35 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id DF22BFBF4; Tue, 9 Jul 2019 15:45:35 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1562687135194650" MIME-Version: 1.0 Date: Tue, 9 Jul 2019 15:45:35 +0000 From: "Taylor R Campbell" Subject: CVS commit: pkgsrc/doc To: pkgsrc-changes@NetBSD.org Reply-To: riastradh@netbsd.org X-Mailer: log_accum Message-Id: <20190709154535.DF22BFBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1562687135194650 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: riastradh Date: Tue Jul 9 15:45:35 UTC 2019 Modified Files: pkgsrc/doc: HOWTO-use-crosscompile Log Message: Note that USE_CWRAPPERS=no is needed for now in cross-compiling. This is a bug, just need to teach cwrappers about passing sysroot. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/doc/HOWTO-use-crosscompile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1562687135194650 Content-Disposition: inline Content-Length: 1072 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/doc/HOWTO-use-crosscompile diff -u pkgsrc/doc/HOWTO-use-crosscompile:1.6 pkgsrc/doc/HOWTO-use-crosscompile:1.7 --- pkgsrc/doc/HOWTO-use-crosscompile:1.6 Tue Jul 9 15:45:25 2019 +++ pkgsrc/doc/HOWTO-use-crosscompile Tue Jul 9 15:45:35 2019 @@ -1,7 +1,7 @@ Cross-compilation in pkgsrc (user's guide) -*- outline -*- Taylor R. Campbell -$NetBSD: HOWTO-use-crosscompile,v 1.6 2019/07/09 15:45:25 riastradh Exp $ +$NetBSD: HOWTO-use-crosscompile,v 1.7 2019/07/09 15:45:35 riastradh Exp $ The following steps enable you to build binary packages for a machine architecture other than the one you are building on. For example, you @@ -66,6 +66,9 @@ In addition to whatever else you want in # XXX Should not need this. PACKAGES= ${PKGSRCDIR}/packages.${MACHINE_ARCH} WRKDIR_BASENAME= work.${MACHINE_ARCH} + + # XXX cwrappers needs to be taught to pass --sysroot. + USE_CWRAPPERS= no .endif You can bootstrap pkgsrc or not; it shouldn't make a difference for --_----------=_1562687135194650--