Date: Fri, 5 Jun 1998 22:36:31 -0700 (PDT) From: sepotvin@videotron.ca To: freebsd-gnats-submit@FreeBSD.ORG Subject: conf/6871: ${LIBDIR} not setted correctly when using BINFORMAT=elf Message-ID: <199806060536.WAA25414@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 6871 >Category: conf >Synopsis: ${LIBDIR} not setted correctly when using BINFORMAT=elf >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 5 22:40:00 PDT 1998 >Last-Modified: >Originator: Stephane E. Potvin >Organization: IBM Canada Ltd. >Release: FreeBSD 3.0-CURRENT >Environment: FreeBSD azimov.videotron.ca 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Fri Jun 5 05:28:00 EDT 1998 rubik@azimov.videotron.ca:/usr/local/src/sys/compile/AZIMOV i386 >Description: When setting BINFORMAT=elf in make.conf the ${LIBDIR} variable is incorrectly set to /usr/lib/aout. This is because bsd.own.mk is included before /etc/make.conf and so ${LIBDIR} is assigned his value before BINFORMAT could be read in. >How-To-Repeat: Just build and install any library with BINFORMAT=elf in /etc/make.conf >Fix: *** sys.mk.orig Sat Jun 6 01:04:24 1998 --- sys.mk Sat Jun 6 01:28:03 1998 *************** *** 243,253 **** .endif - .include <bsd.own.mk> - .if exists(/etc/make.conf) .include </etc/make.conf> .endif # Architectures that use NetBSD syscalls: .if ${MACHINE_ARCH} == "alpha" --- 243,253 ---- .endif .if exists(/etc/make.conf) .include </etc/make.conf> .endif + + .include <bsd.own.mk> # Architectures that use NetBSD syscalls: .if ${MACHINE_ARCH} == "alpha" >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806060536.WAA25414>