Subject: pkg/20971: textproc/xmlcatmgr doesn't install on Solaris
To: None <gnats-bugs@gnats.netbsd.org>
From: None <brian@jhu.edu>
List: netbsd-bugs
Date: 03/31/2003 19:02:19
>Number:         20971
>Category:       pkg
>Synopsis:       textproc/xmlcatmgr doesn't install on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 31 19:03:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Brian Harrington
>Release:        
>Organization:
>Environment:
SunOS twinkle 5.8 Generic_108528-18 sun4m sparc SUNW,SPARCstation-20
>Description:
textproc/xmlcatmgr doesn't install on Solaris if Sun's /usr/sbin/install
the first install in the path.
>How-To-Repeat:
cd textproc/xmlcatmgr; bmake install
>Fix:
I worked around this by adding 

INSTALL?=       /usr/ucb/install

to defs.SunOS.mk

and

MAKE_ENV+=      BT_INSTALL_DIR="${INSTALL} -m 755 -d"
MAKE_ENV+=      BT_INSTALL_BIN="${INSTALL} -m 755 -c"
MAKE_ENV+=      BT_INSTALL_DATA="${INSTALL} -m 644 -c"

to textproc/xmlcatmgr/Makefile

This works, and doesn't seem to mess things up on my NetBSD boxes, but I
don't know if it's the "right" solution.
>Release-Note:
>Audit-Trail:
>Unformatted: