Subject: pkg/24439: xpkgwedge message vs pkgviews
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dmcmahill@netbsd.org>
List: netbsd-bugs
Date: 02/15/2004 19:20:19
>Number:         24439
>Category:       pkg
>Synopsis:       xpkgwedge message vs pkgviews
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 16 00:21:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dan McMahill
>Release:        NetBSD 1.6.1
>Organization:
NetBSD
>Environment:
	
	
System: NetBSD bondage 1.6.1 NetBSD 1.6.1 (BONDAGE) #0: Mon Apr 21 18:28:45 EDT 2003 dan@bondage:/export/disk1/src/src-netbsd-1-6-1/sys/arch/alpha/compile/BONDAGE alpha
Architecture: alpha
Machine: alpha
>Description:

CHROOT bondage# grep pkgview /etc/mk.conf 
PKG_INSTALLATION_PREFS= pkgviews overwrite
CHROOT bondage# pkg_info -D xpkgwedge
Information for xpkgwedge-1.9:
[snip]
       setenv XAPPLRESDIR /usr/pkg/packages/xpkgwedge-1.9/lib/X11/app-defaults


I assume this should be more like '/usr/pkg/lib/X11/app-defaults'?  Or maybe its even 
more broken than that with regards to USE_IMAKE packages.
Maybe all such packages need a wrapper script to set XAPPLRESDIR appropriately
for the package?

	
>How-To-Repeat:
install xpkgwedge-1.9 with pkgviews enabled, read the message and ponder the
implications.
	
>Fix:
If I knew I'd fix it...
	
>Release-Note:
>Audit-Trail:
>Unformatted:
 	
 	
 	pkgsrc as of 2004-02-13 or so.