cvs commit: src/usr.sbin/bsnmpd/modules/snmp_atm Makefile

Ruslan Ermilov ru at freebsd.org
Mon May 23 12:49:34 GMT 2005


On Mon, May 23, 2005 at 12:24:46PM +0000, Hartmut Brandt wrote:
> harti       2005-05-23 12:24:46 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.sbin/bsnmpd/modules/snmp_atm Makefile 
>   Log:
>   This module was wrongly including header from /usr/include. Give it
>   the correct path to the source headers.
>   
>   Revision  Changes    Path
>   1.2       +1 -1      src/usr.sbin/bsnmpd/modules/snmp_atm/Makefile
> 
It wasn't wrong: during buildworld we first install fresh headers (and
libraries) into a ${WORLDTMP}, then build special versions of compiler
and binutils that pick up things from this location, then build
everything.  You can easily verify this by checking the contents of
the corresponding .depend file (after "make depend" part of "make
buildworld" is done).

It can seem to be wrong when you do standalone compiles though, but
then all you need to do is to install the headers and libraries first.
Think of it: if you have a library that you need to link with, with
the namespace under /usr/lib, your only option when you do standalone
compiles is to rebuild/reinstall this library first.  For headers it
is very much similar.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050523/a9cdcbff/attachment.bin


More information about the cvs-src mailing list