Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 10:18:10 -0500 (EST)
From:      "J.R. Oldroyd" <fbsd@opal.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75117: update port: net/boinc-client - Makefile/plist correction for when package is used
Message-ID:  <200412151518.iBFFIA1u028416@linwhf.opal.com>
Resent-Message-ID: <200412151520.iBFFKJl0029068@freefall.freebsd.org>

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

>Number:         75117
>Category:       ports
>Synopsis:       update port: net/boinc-client - Makefile/plist correction for when package is used
>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:   Wed Dec 15 15:20:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     J.R. Oldroyd
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD linwhf.opal.com 6.0-CURRENT FreeBSD 6.0-CURRENT #67: Fri Oct 8 14:11:54 EDT 2004 jr@linwhf.opal.com:/usr/src-current/sys/i386/compile/LINWHF i386
>Description:
Correction to the Makefile and pkg-plist to ensure proper creation
and removal of the ${PREFIX}/boinc/projects directory when port is
installed from a pre-compiled package.
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/net/boinc-client/Makefile net/boinc-client/Makefile
--- /usr/ports/net/boinc-client/Makefile	Wed Dec 15 09:54:11 2004
+++ net/boinc-client/Makefile	Wed Dec 15 09:59:44 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	boinc-client
 PORTVERSION=	4.13
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	http://boinc.berkeley.edu/source/nightly/
 DISTNAME=	boinc_public-cvs-2004-10-14
@@ -62,7 +62,7 @@
 		-e "s:%%BOINC_GROUP%%:${BOINC_GROUP}:g" \
 		< ${FILESDIR}/boinc-client.1 > ${WRKDIR}/boinc-client.1; \
 	${SED}  -e "s:%%BOINC_BINARY%%:$$BBIN:g" \
-		-e "s:%%BOINC_DATADIR%%:${PREFIX}/boinc:g" \
+		-e "s:%%BOINC_DATADIR%%:${BOINC_DATADIR}:g" \
 		-e "s:%%BOINC_HOME%%:${BOINC_HOME}:g" \
 		-e "s:%%BOINC_USER%%:${BOINC_USER}:g" \
 		-e "s:%%BOINC_GROUP%%:${BOINC_GROUP}:g" \
diff -ruN /usr/ports/net/boinc-client/pkg-plist net/boinc-client/pkg-plist
--- /usr/ports/net/boinc-client/pkg-plist	Thu Oct 14 09:43:46 2004
+++ net/boinc-client/pkg-plist	Tue Dec 14 17:23:29 2004
@@ -1,3 +1,4 @@
+@exec mkdir -p boinc/projects
 bin/boinc-client
 boinc/client/%%BOINC_BINARY%%
 etc/rc.d/boinc.sh

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



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