Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Sep 2010 19:40:06 GMT
From:      Alex Samorukov <samm@os2.kiev.ua>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/150235: sysutils/smartmontools build system bug
Message-ID:  <201009051940.o85Je6ex012237@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/150235; it has been noted by GNATS.

From: Alex Samorukov <samm@os2.kiev.ua>
To: Giorgos Keramidas <keramida@freebsd.org>
Cc: Garrett Wollman <wollman@freebsd.org>, bug-followup@freebsd.org, 
 developers@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.
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009051940.o85Je6ex012237>