ports/142544: [patch] graphics/plasma-kmod use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sat Jan 9 19:50:02 UTC 2010
>Number: 142544
>Category: ports
>Synopsis: [patch] graphics/plasma-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:50:01 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/plasma-kmod/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile 22 Aug 2009 00:23:04 -0000 1.13
+++ Makefile 9 Jan 2010 19:39:15 -0000
@@ -19,12 +19,13 @@
IGNORE= requires kernel source (/usr/src/sys) to build
.endif
PLIST_FILES= lib/plasma_saver.ko
+SUB_FILES= pkg-message
do-install:
${INSTALL_KLD} ${WRKSRC}/plasma_saver.ko ${PREFIX}/lib
post-install:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message 15 Sep 2007 00:55:38 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-The plasma_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.
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:39:15 -0000
@@ -0,0 +1,3 @@
+The plasma_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.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list