From owner-freebsd-bugs Fri Jun 5 22:41:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA25833 for freebsd-bugs-outgoing; Fri, 5 Jun 1998 22:41:03 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA25826 for ; Fri, 5 Jun 1998 22:41:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA07676; Fri, 5 Jun 1998 22:40:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA25414; Fri, 5 Jun 1998 22:36:31 -0700 (PDT) (envelope-from nobody) Message-Id: <199806060536.WAA25414@hub.freebsd.org> Date: Fri, 5 Jun 1998 22:36:31 -0700 (PDT) From: sepotvin@videotron.ca To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: conf/6871: ${LIBDIR} not setted correctly when using BINFORMAT=elf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 - .if exists(/etc/make.conf) .include .endif # Architectures that use NetBSD syscalls: .if ${MACHINE_ARCH} == "alpha" --- 243,253 ---- .endif .if exists(/etc/make.conf) .include .endif + + .include # 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