Subject: Re: sysinst, menuc & msgc and DESTDIR builds
To: Jason R Thorpe <thorpej@zembu.com>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-install
Date: 10/23/2000 16:38:28
On Sun, 22 Oct 2000, Jason R Thorpe wrote:
: > It seems the old menuc and msgc files are picked up when doing a DESTDIR
: > build. Any objections to compile the patch below?
:
: Yes. You can't run DESTDIR's menuc(1), because you might be
: cross-compiling.
I was going to say the same thing, but then:
: > -MENUC?=menuc
: > -MSGC?=msgc
: > +MENUC?= MENUDEF=${DESTDIR}/usr/share/misc ${DESTDIR}/usr/bin/menuc
: > +MSGC?= MSGDEF=${DESTDIR}/usr/share/misc ${DESTDIR}/usr/bin/msgc
these use ?='s, which should be somewhat acceptable. Ideally, this should
use HOST_MENUC and HOST_MSGC, but the cross build toolchain is still
somewhat cobbled and unfinished.
--
-- Todd Vierling <tv@wasabisystems.com> * http://www.wasabisystems.com/
-- Speed, stability, security, and support. Wasabi NetBSD: Run with it.