From owner-cvs-src@FreeBSD.ORG Mon May 23 13:04:16 2005 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8068F16A41C; Mon, 23 May 2005 13:04:16 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0112F43D49; Mon, 23 May 2005 13:04:15 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-1.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Mon, 23 May 2005 15:04:12 +0200 Date: Mon, 23 May 2005 15:04:13 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Ruslan Ermilov In-Reply-To: <20050523124951.GA58621@ip.net.ua> Message-ID: <20050523150142.S28521@beagle.kn.op.dlr.de> References: <200505231224.j4NCOk7M049057@repoman.freebsd.org> <20050523124951.GA58621@ip.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 23 May 2005 13:04:12.0479 (UTC) FILETIME=[EA4184F0:01C55F97] Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/bsnmpd/modules/snmp_atm Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harti Brandt List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 13:04:16 -0000 On Mon, 23 May 2005, Ruslan Ermilov wrote: RE>On Mon, May 23, 2005 at 12:24:46PM +0000, Hartmut Brandt wrote: RE>> harti 2005-05-23 12:24:46 UTC RE>> RE>> FreeBSD src repository RE>> RE>> Modified files: RE>> usr.sbin/bsnmpd/modules/snmp_atm Makefile RE>> Log: RE>> This module was wrongly including header from /usr/include. Give it RE>> the correct path to the source headers. RE>> RE>> Revision Changes Path RE>> 1.2 +1 -1 src/usr.sbin/bsnmpd/modules/snmp_atm/Makefile RE>> RE>It wasn't wrong: during buildworld we first install fresh headers (and RE>libraries) into a ${WORLDTMP}, then build special versions of compiler RE>and binutils that pick up things from this location, then build RE>everything. You can easily verify this by checking the contents of RE>the corresponding .depend file (after "make depend" part of "make RE>buildworld" is done). Ok, yes. I remember this. I had a report from someone complaining that it was including the wrong headers. I think I revert this on the next import (I cannot just change the Makefile, but need to change the source too). RE>It can seem to be wrong when you do standalone compiles though, but RE>then all you need to do is to install the headers and libraries first. RE>Think of it: if you have a library that you need to link with, with RE>the namespace under /usr/lib, your only option when you do standalone RE>compiles is to rebuild/reinstall this library first. For headers it RE>is very much similar. I see. Thanks for the explanation. harti