svn commit: r206497 - in head: sbin/geom/class sbin/geom/class/sched sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/modules/geom/geom_sched/gs_sched sys/modules/geom/geom_sched/gsc...

Rui Paulo rpaulo at freebsd.org
Tue Apr 13 09:18:54 UTC 2010


On 12 Apr 2010, at 22:05, Luigi Rizzo wrote:

> On Mon, Apr 12, 2010 at 10:49:26PM +0200, Pawel Jakub Dawidek wrote:
> ...
>>> @@ -0,0 +1,19 @@
>>> +# GEOM_LIBRARY_PATH
>>> +# $FreeBSD$
>>> +
>>> +.PATH: /usr/src/sbin/geom/misc
>>> +
>>> +CFLAGS += -I/usr/src/sbin/geom
>> 
>> This doesn't look right.
> 
> probably a leftover from older versions of this code for 6.x .
> I will do more tests tomorrow (for 7.x at this point, there is
> no point in trying to support 6.x I believe) and try to remove
> it if not necessary.

Even if you need geom/misc, this is not the correct way to include it.

M=	${.CURDIR}/../../misc
.PATH:  ${M}
CFLAGS+=-I${M}

is probably what you want. There are many people out there (me included) that don't use /usr/src.

Regards,
--
Rui Paulo



More information about the svn-src-all mailing list