Index: sys/modules/Makefile =================================================================== RCS file: /usr/CVS-Repository/src/sys/modules/Makefile,v retrieving revision 1.410 diff -u -p -r1.410 Makefile --- sys/modules/Makefile 16 Nov 2004 17:19:04 -0000 1.410 +++ sys/modules/Makefile 29 Nov 2004 12:21:58 -0000 @@ -166,6 +166,7 @@ SUBDIR= ${_3dfx} \ plip \ ${_pmc} \ portalfs \ + ${_ports} \ ppbus \ ppi \ pps \ @@ -260,6 +261,11 @@ _syscons= syscons _ufs= ufs .endif +PORTSKLD?= /usr/local/kld +.if exists(${PORTSKLD}) && !defined(NO_PORTS_KLDS) +_ports= ../../../../${PORTSKLD} +.endif + .if !defined(NOCRYPT) || defined(ALL_MODULES) .if exists(${.CURDIR}/../opencrypto) _crypto= crypto