pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc Note that USE_CWRAPPERS=no is needed for now in cr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/57c67159f189
branches:  trunk
changeset: 336230:57c67159f189
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Tue Jul 09 15:45:35 2019 +0000

description:
Note that USE_CWRAPPERS=no is needed for now in cross-compiling.

This is a bug, just need to teach cwrappers about passing sysroot.

diffstat:

 doc/HOWTO-use-crosscompile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 277f66bc14be -r 57c67159f189 doc/HOWTO-use-crosscompile
--- a/doc/HOWTO-use-crosscompile        Tue Jul 09 15:45:25 2019 +0000
+++ b/doc/HOWTO-use-crosscompile        Tue Jul 09 15:45:35 2019 +0000
@@ -1,7 +1,7 @@
 Cross-compilation in pkgsrc (user's guide)              -*- outline -*-
 Taylor R. Campbell <riastradh%NetBSD.org@localhost>
 
-$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 @@
    # 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



Home | Main Index | Thread Index | Old Index