From owner-freebsd-current@FreeBSD.ORG Fri Oct 14 03:35:59 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 795FC16A41F for ; Fri, 14 Oct 2005 03:35:59 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1936643D46 for ; Fri, 14 Oct 2005 03:35:59 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id j9E3ZB5r080199; Thu, 13 Oct 2005 21:35:13 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 13 Oct 2005 21:36:21 -0600 (MDT) Message-Id: <20051013.213621.35849592.imp@bsdimp.com> To: doconnor@gsoft.com.au From: "M. Warner Losh" In-Reply-To: <200510132028.32070.doconnor@gsoft.com.au> References: <200510132028.32070.doconnor@gsoft.com.au> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Thu, 13 Oct 2005 21:35:14 -0600 (MDT) Cc: freebsd-current@freebsd.org Subject: Re: Patches for ports to install KLD source X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 03:35:59 -0000 In message: <200510132028.32070.doconnor@gsoft.com.au> "Daniel O'Connor" 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