From owner-freebsd-current Wed Jun 10 12:07:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA17212 for freebsd-current-outgoing; Wed, 10 Jun 1998 12:07:02 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from hal-pc.org (hal-pc.org [204.52.135.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA17194 for ; Wed, 10 Jun 1998 12:06:55 -0700 (PDT) (envelope-from jes@hal-pc.org) Received: from jason (56K-015.MaxTNT6.pdq.net [209.144.25.15]) by hal-pc.org (8.9.0/8.9.0) with SMTP id OAA18241 for ; Wed, 10 Jun 1998 14:06:47 -0500 (CDT) From: "Jason" To: Subject: Re: ELF preparation step 2 done Date: Wed, 10 Jun 1998 14:06:20 -0500 Message-ID: <01bd94a2$daa681c0$016f6f6f@jason.vipersystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you refer to sys.mk you will find that bsd.own.mk is included before /etc/make.conf, as such when building for a i386/elf target and defining BINFORMAT=elf in /etc/make.conf you miss a critical test in bsd.own.mk: .if ${BINFORMAT} == aout LIBDIR?= /usr/lib/aout .else LIBDIR?= /usr/lib .endif thus your elf libraries are installed by default into /usr/lib/aout. I don't see any complications, but then again I'm no makefile god, but a solution may be to move the .include of /etc/make.conf above the .include of bsd.own.mk in sys.mk. This would further make.conf by letting it override settings in bsd.own.mk, without the side effects of tests to set other settings in bsd.own.mk, as seems one of its intentions. Otherwise you may want to put LIBDIR=/usr/lib or /usr/lib/elf in your make.conf. -Jason- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message