On Mon, May 13, 2002 at 10:23:37PM +0200, Sheldon Hearn wrote:
> I don't really think this can be brought into FreeBSD -STABLE until I
> have a similar method for doing this in the case where IPFilter is
> hardwired into the kernel, instead of loaded as a module.
> 
> Right now, I've got no idea how to do that properly.

I think you can just add:

.ifdef(IPFILTER_STATE_MAX)
COPTFLAGS+=     -DIPSTATE_MAX=${IPFILTER_STATE_MAX}
.endif
.ifdef(IPFILTER_STATE_SIZE)
COPTFLAGS+=     -DIPSTATE_SIZE=${IPFILTER_STATE_SIZE}
.endif

to /sys/conf/kern.pre.mk on -current and /sys/conf/Makefile.[alpha|i386|pc98]
on -stable (probably near the block wear ${_CPUCFLAGS} is added to COPTFLAGS.

Jeremy

Reply via email to