ports/142540: [patch] graphics/kix-kmod use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sat Jan 9 19:30:08 UTC 2010
>Number: 142540
>Category: ports
>Synopsis: [patch] graphics/kix-kmod use $SUB_FILES to dynamically adjust pkg-message
>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 Jan 09 19:30:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sevan Janiyan
>Release:
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/kix-kmod/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 7 Oct 2007 02:56:17 -0000 1.12
+++ Makefile 9 Jan 2010 19:16:36 -0000
@@ -21,11 +21,12 @@
.endif
MAKE_ENV+= WERROR=
PLIST_FILES= lib/kix_saver.ko
+SUB_FILES= pkg-message
do-install:
${INSTALL_KLD} ${WRKSRC}/kix_saver.ko ${PREFIX}/lib
post-install:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message 6 Oct 2003 01:23:51 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,7 +0,0 @@
-
-The qix_saver.ko module has been installed to %%PREFIX%%/lib. You
-may wish to add this to your kern.module_path sysctl string or copy it
-to another location.
-
-For best results, recompile your kernel with the VESA option.
-
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in 9 Jan 2010 19:16:36 -0000
@@ -0,0 +1,7 @@
+
+The qix_saver.ko module has been installed to %%PREFIX%%/lib. You
+may wish to add this to your kern.module_path sysctl string or copy it
+to another location.
+
+For best results, recompile your kernel with the VESA option.
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list