Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  8 Sep 2007 22:35:27 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116200: [patch] bsd.port.mk - INSTALL_KLD
Message-ID:  <20070908123527.E074A242@k7.mavetju>
Resent-Message-ID: <200709081240.l88Ce6fh045923@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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