Subject: pkg/14183: bsd.pkg.defaults.mk does not honor X11BASE in /etc/mk.conf
To: None <gnats-bugs@gnats.netbsd.org>
From: Allen D. Ball <ball@iprotium.com>
List: netbsd-bugs
Date: 10/07/2001 13:15:00
>Number: 14183
>Category: pkg
>Synopsis: bsd.pkg.defaults.mk does not honor X11BASE in /etc/mk.conf
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 07 13:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Allen D. Ball
>Release: NetBSD 1.5.2
>Organization:
N/A
>Environment:
System: NetBSD proton. 1.5.2 NetBSD 1.5.2 (INTEL-ISP1100) #0: Wed Oct 3 12:03:33 PDT 2001 ball@proton.:/usr/src/sys/arch/i386/compile/INTEL-ISP1100 i386
>Description:
bsd.pkg.defaults.mk does not honor X11BASE in /etc/mk.conf.
>How-To-Repeat:
Try to build an X package with X11BASE set to something other than
/usr/X11R6 in /etc/mk.conf and see X11BASE set to /usr/X11R6.
>Fix:
Index: bsd.pkg.defaults.mk
===================================================================
RCS file: /export/NetBSD/CVS/pkgsrc/mk/bsd.pkg.defaults.mk,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 bsd.pkg.defaults.mk
--- bsd.pkg.defaults.mk 2001/10/06 17:38:36 1.1.1.1
+++ bsd.pkg.defaults.mk 2001/10/07 19:55:47
@@ -57,7 +57,7 @@
# Possible: any path
# Default: ${LOCALBASE}/cross
-X11BASE= /usr/X11R6
+X11BASE?= /usr/X11R6
# Where X11 is installed on the system.
# (and the default install path of X11 pkgs)
# Possible: any path
>Release-Note:
>Audit-Trail:
>Unformatted: