Subject: bin/840: ldconfig uses /usr/X386 not /usr/X11R6
To: None <gnats-admin@NetBSD.ORG>
From: Luke Mewburn <lukem@dodo.melb.cpr.itg.telecom.com.au>
List: netbsd-bugs
Date: 03/02/1995 20:05:07
>Number: 840
>Category: bin
>Synopsis: [i386] ldconfig adds /usr/X386. Should it be /usr/X11R6 for all?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 2 20:05:04 1995
>Originator: Luke Mewburn
>Organization:
" Werj"
>Release: 1.0
>Environment:
System: NetBSD dodo 1.0 NetBSD 1.0 (DODO) #7: Fri Dec 16 17:01:27 EST 1994 simonb@dodo:/slab/0/src/sys/arch/i386/compile/DODO i386
>Description:
On the i386, ldconfig defaults to /usr/lib & /usr/X386/lib.
Since XFree86 3.1.1 (and 3.1) is in /usr/X11R6, and other
platforms (e.g, sparc) also use /usr/X11R6, it makes sense
to change ldconfig to defaults to /usr/lib & /usr/X11R6/lib
on all platforms...
>How-To-Repeat:
>Fix:
patch with this:
*** gnu/usr.bin/ld/ldconfig/Makefile.orig Sun Feb 19 13:53:15 1995
--- gnu/usr.bin/ld/ldconfig/Makefile Sun Feb 19 13:53:48 1995
***************
*** 10,17 ****
.PATH: $(LDDIR) $(LDDIR)/$(MACHINE_ARCH)
! .if ($(MACHINE_ARCH) == i386)
! CFLAGS += -DSTANDARD_SEARCH_DIRS="\"/usr/lib\", \"/usr/X386/lib\""
! .endif
.include <bsd.prog.mk>
--- 10,15 ----
.PATH: $(LDDIR) $(LDDIR)/$(MACHINE_ARCH)
! CFLAGS += -DSTANDARD_SEARCH_DIRS="\"/usr/lib\", \"/usr/X11R6/lib\""
.include <bsd.prog.mk>
>Audit-Trail:
>Unformatted: