From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 8 12:40:07 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBE5C16A41B for ; Sat, 8 Sep 2007 12:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB08713C46E for ; Sat, 8 Sep 2007 12:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l88Ce6oa045924 for ; Sat, 8 Sep 2007 12:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l88Ce6fh045923; Sat, 8 Sep 2007 12:40:06 GMT (envelope-from gnats) Resent-Date: Sat, 8 Sep 2007 12:40:06 GMT Resent-Message-Id: <200709081240.l88Ce6fh045923@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edwin Groothuis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5507716A418 for ; Sat, 8 Sep 2007 12:35:27 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id 1E80513C458 for ; Sat, 8 Sep 2007 12:35:26 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id F2F262219D25; Sat, 8 Sep 2007 22:35:25 +1000 (EST) Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail5.barnet.com.au (Postfix) with ESMTP id BBFF021B1009 for ; Sat, 8 Sep 2007 22:35:25 +1000 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail5auth.barnet.com.au (Postfix) with ESMTP id 744912219CF9 for ; Sat, 8 Sep 2007 22:35:25 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id E074A242; Sat, 8 Sep 2007 22:35:27 +1000 (EST) Message-Id: <20070908123527.E074A242@k7.mavetju> Date: Sat, 8 Sep 2007 22:35:27 +1000 (EST) From: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/116200: [patch] bsd.port.mk - INSTALL_KLD X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2007 12:40:07 -0000 >Number: 116200 >Category: ports >Synopsis: [patch] bsd.port.mk - INSTALL_KLD >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 08 12:40:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 6.2-RELEASE-p4 i386 >Organization: - >Environment: System: FreeBSD vaio-edwin.barnet.com.au 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: According to ports/100703 and ports/115517 INSTALL_PROGRAM doesn't work when you install .ko modules. This patch adds a INSTALL_KLD command which does do the INSTALL_PROGRAM without the STRIP command. >How-To-Repeat: >Fix: I volunteer to create the documentation once this command has been added and to convert all Makefiles in the kld category. --- bsd.port.orig Sat Sep 8 22:32:22 2007 +++ bsd.port.mk Sat Sep 8 22:33:10 2007 @@ -582,6 +582,7 @@ # - A command to install binary executables. (By # default, also strips them, unless ${STRIP} is # overridden to be the empty string). +# INSTALL_KLD - As INSTALL_KLD, but without the STRIP. # INSTALL_SCRIPT # - A command to install executable scripts. # INSTALL_DATA - A command to install sharable data. @@ -2236,6 +2237,8 @@ # A few aliases for *-install targets INSTALL_PROGRAM= \ ${INSTALL} ${COPY} ${STRIP} ${_BINOWNGRP} -m ${BINMODE} +INSTALL_KLD= \ + ${INSTALL} ${COPY} ${_BINOWNGRP} -m ${BINMODE} INSTALL_SCRIPT= \ ${INSTALL} ${COPY} ${_BINOWNGRP} -m ${BINMODE} INSTALL_DATA= \ >Release-Note: >Audit-Trail: >Unformatted: