Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2010 06:57:57 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/143148: [PATCH] net/pvm: use $SUB_FILES to update pkg-message
Message-ID:  <201001240657.o0O6vvmG098744@newbie.thingamajig-systems.co.uk>
Resent-Message-ID: <201001240710.o0O7A3Cl002529@freefall.freebsd.org>

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

>Number:         143148
>Category:       ports
>Synopsis:       [PATCH] net/pvm: use $SUB_FILES to update 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:   Sun Jan 24 07:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC
>Description:
instead of invoking sed manually

Added file(s):
- files/pkg-message.in

Removed file(s):
- pkg-message

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- pvm-3.4.6.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/pvm/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	30 Oct 2009 00:53:01 -0000	1.25
+++ Makefile	24 Jan 2010 06:56:51 -0000
@@ -110,6 +110,8 @@
 		pvm_trecv.3 pvmftrecv.3 pvm_unpack.3 pvmfunpack.3 \
 		pvm_pkmesg.3 pvmfupkmesg.3
 
+SUB_FILES=	pkg-message
+
 .include <bsd.port.pre.mk>
 
 pre-patch:
@@ -142,6 +144,6 @@
 	cd ${WRKSRC}/man/man3 && ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3
 
 post-install:
-	@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	16 Oct 2004 02:21:37 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,7 +0,0 @@
--
-You have to set PVM_ROOT=%%PREFIX%%/lib/pvm enviropment variable on all machines
-which you are planning to use for distributed computing. The best way to set
-this variable on system-wide basis is to add "PVM_ROOT=%%PREFIX%%/lib/pvm" into
-appropriate section of your /etc/login.conf file. You also have to enable
-rshd on those machines.
--
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	24 Jan 2010 06:56:51 -0000
@@ -0,0 +1,7 @@
+-
+You have to set PVM_ROOT=%%PREFIX%%/lib/pvm enviropment variable on all machines
+which you are planning to use for distributed computing. The best way to set
+this variable on system-wide basis is to add "PVM_ROOT=%%PREFIX%%/lib/pvm" into
+appropriate section of your /etc/login.conf file. You also have to enable
+rshd on those machines.
+-
--- pvm-3.4.6.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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