Subject: Re: cad/qcad target OS configuration
To: John D. Baker <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 02/10/2004 21:07:37
On Tue, 10 Feb 2004, John D. Baker wrote:
> The file "work/qcad-1.5.4/rprgdef.h" contains a number of target-specific
> blocks of configuration macros, some of which require commenting and
> uncommenting to configure the distribution for the appropriate target OS.
> Can the patch automata and/or patch data sets be made sensitive to the
> target OS when building for non-NetBSD targets? Otherwise, proper
> configuration may require manual editing.
One idea is to have separate rprgdef.h files for known operating systems
in the files/ directory. Then use the one that is needed, run sed over it
to fix various settings and the copy it in place. This could be done in
the post-install or maybe pre-configure step.
Jeremy C. Reed