NetBSD Problem Report #20971

Received: (qmail 4700 invoked by uid 605); 1 Apr 2003 03:02:23 -0000
Message-Id: <20030401030219.3FB9D11152@narn.netbsd.org>
Date: Mon, 31 Mar 2003 19:02:19 -0800 (PST)
From: brian@jhu.edu
Sender: gnats-bugs-owner@netbsd.org
Reply-To: brian@jhu.edu
To: gnats-bugs@gnats.netbsd.org
Subject: textproc/xmlcatmgr doesn't install on Solaris
X-Send-Pr-Version: www-1.0

>Number:         20971
>Category:       pkg
>Synopsis:       textproc/xmlcatmgr doesn't install on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 01 03:03:00 +0000 2003
>Closed-Date:    Tue Apr 01 08:20:51 +0000 2003
>Last-Modified:  Tue Apr 01 08:21:00 +0000 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: jmmv 
State-Changed-When: Tue Apr 1 00:20:28 PST 2003 
State-Changed-Why:  
Should be fixed now.  Thanks! 

From: Julio Merino <jmmv@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/20971 CVS commit: pkgsrc/textproc/xmlcatmgr
Date: Tue,  1 Apr 2003 11:20:09 +0300 (EEST)

 Module Name:	pkgsrc
 Committed By:	jmmv
 Date:		Tue Apr  1 08:20:09 UTC 2003

 Modified Files:
 	pkgsrc/textproc/xmlcatmgr: Makefile

 Log Message:
 Override install commands, to fix installation in SunOS.  Pointed out by
 Brian Harrington in PR pkg/20971.


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 pkgsrc/textproc/xmlcatmgr/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.