Subject: building in subdir (gcc)
To: None <tech-pkg@netbsd.org>
From: Eric Haszlakiewicz <erh@jodi.nimenees.com>
List: tech-pkg
Date: 11/24/2003 11:06:28
	I recently ran into a problem where gcc (gcc3) wouldn't build correctly
for me unless it was configured in a subdirectory of the source directory.
According to the gcc install docs, you're _supposed_ to build in a
subdirectory.  I added this to the Makefile:

CONFIGURE_DIRS=${WRKDIR}/${DISTNAME}/build
BUILD_DIRS=${CONFIGURE_DIRS}
CONFIGURE_SCRIPT=../configure

Is this the right way to do this?
Does anyone know of a reason NOT to do this?

eric