Subject: pkg/24284: bash port does not respect AR in mk.conf
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/31/2004 19:47:31
>Number:         24284
>Category:       pkg
>Synopsis:       bash port does not respect AR in mk.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 31 19:48:00 UTC 2004
>Originator:     Alex Newman
>Release:        Solaris 9
Wu Li
SunOS unknown 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-5_10

When one tries to build bash2 in Solaris 9 it fails unless ar is in the path even if in mk.conf one sets AR=/usr/ccs/bin/ar
This happens in the Makefiles for /lib/glob,lib/readline,/lib/sh and /lib/malloc. It also happens in the main Makefile.

Being able to set at from mk.conf I think is very important.

It also doesn't repects size or strip.
Try to build bash-2.05b with ar not in your path
One can put ar in their path or set the path in each makefile. I have not made a patch.