Subject: cad/qcad target OS configuration
To: None <>
From: John D. Baker <>
List: tech-pkg
Date: 02/10/2004 22:59:30
When building 'cad/qcad' on Solaris 9, the pkgsrc automata and/or
patches do not correctly configure the distribution for a Solaris
target.  Instead, it appears to be configured for Linux with one
macro altered to point the DATAFILE to ${PREFIX}/share.

This causes the build to attempt to include <sys/dir.h> which does not
exist on Solaris targets.

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.

John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
BSD -- It just sits there and _works_!