From owner-freebsd-ports@FreeBSD.ORG Tue Oct 29 15:26:13 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4C3DFDD8 for ; Tue, 29 Oct 2013 15:26:13 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 18B272E7D for ; Tue, 29 Oct 2013 15:26:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=n7L/ZEnC2C83X2udhh4yDk3GZ7fD/YZP3B4c36erG3M=; b=sq68W8tTzyHNgydDx6uDCSwU9OpLTPt/SvFCX5b2/lhT62Cs0cbJD1It7uLXeXJEumif522vgX3szDSBhjLT+AKIclR7sCbmKNV10X7NJo6lvUB0tQPdM+5wlZrEeSZ1P8YA2RXjJTOxIreTInaKsvbBI5KLnwx1OyqnJrLJZas=; Received: from localhost.lerctr.org ([127.0.0.1]:44881 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VbBBK-000HrY-Ik for freebsd-ports@freebsd.org; Tue, 29 Oct 2013 10:26:12 -0500 Received: from [32.97.110.59] by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 29 Oct 2013 10:26:10 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 29 Oct 2013 10:26:10 -0500 From: Larry Rosenman To: freebsd-ports@freebsd.org Subject: Re: RFC: =?UTF-8?Q?USES=3Dkernsrc?= In-Reply-To: References: Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/0.9.5 X-Spam-Score: -3.4 (---) X-LERCTR-Spam-Score: -3.4 (---) X-Spam-Report: SpamScore (-3.4/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-LERCTR-Spam-Report: SpamScore (-3.4/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 15:26:13 -0000 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