ports/116200: [patch] bsd.port.mk - INSTALL_KLD

Edwin Groothuis edwin at mavetju.org
Sat Sep 8 12:40:07 UTC 2007


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



More information about the freebsd-ports-bugs mailing list