Subject: bin/14079: new toolchains installed to wrong directory
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/27/2001 22:45:15
>Number:         14079
>Category:       bin
>Synopsis:       new toolchains installed to wrong directory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 27 06:46:00 PDT 2001
>Originator:     Shin'ichiro TAYA
>Release:        -current Sep. 23, 2001

Shin'ichiro TAYA <>
System: NetBSD 1.5Y NetBSD 1.5Y (MMGSERV) #3: Wed Sep 26 08:24:39 JST 2001 i386
Architecture: i386
Machine: i386
	When I build source tree like below, some toolchains installed to wrong directory. 
	ar is installed to $(DESTDIR)/$(TOOLDIR).

	# make build DESTDIR=/export/NetBSD/NetBSD-current/DEST.i386

	 /bin/sh ./libtool  --mode=install /bin/sh /export/NetBSD/NetBSD-current/src/gnu/dist/toolchain/install-sh -c  ar /export/NetBSD/NetBSD-current/DEST.i386/export/NetBSD/NetBSD-current/TOOL.i386/bin/i386--netbsdelf-ar
	/bin/sh /export/NetBSD/NetBSD-current/src/gnu/dist/toolchain/install-sh -c ar /export/NetBSD/NetBSD-current/DEST.i386/export/NetBSD/NetBSD-current/TOOL.i386/bin/i386--netbsdelf-ar

	My mk.conf is:

	See description.