ports/150235: sysutils/smartmontools build system bug

Alex Samorukov samm at os2.kiev.ua
Sun Sep 5 19:40:06 UTC 2010


The following reply was made to PR ports/150235; it has been noted by GNATS.

From: Alex Samorukov <samm at os2.kiev.ua>
To: Giorgos Keramidas <keramida at freebsd.org>
Cc: Garrett Wollman <wollman at freebsd.org>, bug-followup at freebsd.org, 
 developers at freebsd.org
Subject: Re: ports/150235: sysutils/smartmontools build system bug
Date: Sun, 05 Sep 2010 21:30:30 +0200

 >> header needs to be installed in /usr/include, end of story.
 >> -I/usr/src/sys is never acceptable in userland code.
 >>      
 > We support building the kernel itself from arbitrary locations, even
 > using arbitrary OBJDIR locations.  I don't think userland code should
 > depend on /usr/src or /usr/obj as absolute paths.  They are not part of
 > the 'published interface' of the kernel and they should never be, as
 > long as we want to support building e.g. with MAKEOBJDIRPREFIX set to
 > something like '/home/keramida/work/freebsd/obj.i386'.
 >    
 Thats a good point. I can add SRC_BASE variable to the port, with 
 /usr/src as default. E.g. emulators/rtc do this way.
 
 



More information about the freebsd-ports-bugs mailing list