Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 10:26:10 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: RFC: =?UTF-8?Q?USES=3Dkernsrc?=
Message-ID:  <d6e3c26d7db994140ce288418dc406bb@webmail.lerctr.org>
In-Reply-To: <CADL2u4jgNkgTj9f5FxyyKtkEbzDHchUfwr_SW0FAUBxqJ_Q=Gg@mail.gmail.com>
References:  <CADL2u4jgNkgTj9f5FxyyKtkEbzDHchUfwr_SW0FAUBxqJ_Q=Gg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-10-29 10:09, René Ladan wrote:
> Hi all,
> 
> while stagifying the sysutils/biosfont port together with bapt@ at
> last EuroBSDCon the idea for a USES=kernsrc (or USES=kld ?) came up.
> This new USES would both simplify and unify writing kernel module
> ports because it adds all the common lines.
> 
> The result is at http://people.freebsd.org/~rene/patches/kernsrc.mk
> (download it into Mk/uses/ ). An example of a converted port is at
> http://people.freebsd.org/~rene/patches/biosfont.diff
> 
> Last nits to solve:
> - decide about MAINTAINER
> - maybe change plist substitution to "${KMODDIR:C,^/,,}" (i.e. strip
> leading '/' )
> - maybe mute ${ECHO_CMD} lines (prefix with '@') in 
> kernsrc-post-install target
> 
> Documentation:
> - add a note to CHANGES
> - add a section to the Porters Handbook
> 
This would be useful for sysutils/lsof as well.  It needs the current 
src tree.



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: ler@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d6e3c26d7db994140ce288418dc406bb>