Patches for ports to install KLD source

M. Warner Losh imp at bsdimp.com
Thu Oct 13 20:35:59 PDT 2005


In message: <200510132028.32070.doconnor at gsoft.com.au>
            "Daniel O'Connor" <doconnor at gsoft.com.au> writes:
: Here is a sent of patches for 2 ports (x11/nvidia-server and palm/uppc-kmod) 
: that have them install the KLD source and gets the KLD's rebuilt with the 
: kernel.
: 
: Apply the attached patches and do..
: mkdir /usr/local/kld /usr/X11R6/kld
: 
: Then copy the attached Makefile to /usr/local/kld and /usr/X11R6/kld.
: 
: Unfortunately I don't know a nice way of discovering PREFIX and/or X11BASE 
: except, say..
: make -f /usr/ports/Mk/bsd.port.mk -V PREFIX
: make -f /usr/ports/Mk/bsd.port.mk -V X11BASE
: 
: which seems a bit gross..
: 
: For the nvidia port - I've only tried it on -current so I don't know if it 
: will work OK with the other versions it installs on different 
: systems/configurations.

How is this different than setting PORTS_MODULES in your kernel config
file?

Warner


More information about the freebsd-current mailing list