Subject: Re: sysinst, menuc & msgc and DESTDIR builds
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-install
Date: 10/22/2000 22:58:16
On Mon, Oct 23, 2000 at 03:56:12AM +0200, Hubert Feyrer 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.
Do not commit this patch.
> - Hubert
>
> Index: Makefile.inc
> ===================================================================
> RCS file: /cvsroot/basesrc/distrib/utils/sysinst/Makefile.inc,v
> retrieving revision 1.9
> diff -u -r1.9 Makefile.inc
> --- Makefile.inc 2000/08/11 13:05:15 1.9
> +++ Makefile.inc 2000/10/23 01:48:45
> @@ -38,8 +38,8 @@
>
> .PATH: ${.CURDIR}/../..
>
> -MENUC?=menuc
> -MSGC?=msgc
> +MENUC?= MENUDEF=${DESTDIR}/usr/share/misc ${DESTDIR}/usr/bin/menuc
> +MSGC?= MSGDEF=${DESTDIR}/usr/share/misc ${DESTDIR}/usr/bin/msgc
>
> .include <bsd.prog.mk>
>
>
> --
> Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
>
>
--
-- Jason R. Thorpe <thorpej@zembu.com>