Subject: pkg/5378: Package system inconsistency
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@acheron.middleboro.ma.us>
List: netbsd-bugs
Date: 04/30/1998 10:39:50
>Number: 5378
>Category: pkg
>Synopsis: At least some packages ignore $PREFIX for include files.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 30 07:50:00 1998
>Last-Modified:
>Originator: Mason Loring Bliss
>Organization:
SwineSoft
>Release: package system, 04/30/1998, NetBSD 1.3.1
>Environment:
System: NetBSD acheron.middleboro.ma.us 1.3.1 NetBSD 1.3.1 (MLB) #2: Mon Apr 20 22:22:52 EDT 1998 mason@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB i386
>Description:
At least one package - xpaint - and perhaps other packages ignore the
$PREFIX variable with regard to include files. xpaint wants to find include
files in /usr/pkg/include, when they reside in /usr/local/include.
>How-To-Repeat:
su
cd /etc
cat > mk.conf
PREFIX=/usr/local
^D
cd /usr/pkgsrc/graphics/xpaint
make && make install
>Fix:
I assume substituting $PREFIX for /usr/pkg will work, that, of course,
assuming that /etc/mk.conf is referenced before Makefiles and stuff are
built.
>Audit-Trail:
>Unformatted: