From monkey@vectors.cx  Thu Sep  5 10:21:38 2002
Return-Path: <monkey@vectors.cx>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0576537B400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  5 Sep 2002 10:21:38 -0700 (PDT)
Received: from vectors.cx (manifold.vectors.cx [64.163.147.229])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B5F2443E65
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  5 Sep 2002 10:21:37 -0700 (PDT)
	(envelope-from monkey@vectors.cx)
Received: from vectors.cx (54e0790c04cb6802f01ceba2dd6500bf@localhost [127.0.0.1])
	by vectors.cx (8.12.4/8.12.4) with ESMTP id g85HNR2e083039
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 5 Sep 2002 10:23:27 -0700 (PDT)
	(envelope-from monkey@vectors.cx)
Received: (from monkey@localhost)
	by vectors.cx (8.12.4/8.12.4/Submit) id g85HNRkk083038;
	Thu, 5 Sep 2002 10:23:27 -0700 (PDT)
	(envelope-from monkey)
Message-Id: <200209051723.g85HNRkk083038@vectors.cx>
Date: Thu, 5 Sep 2002 10:23:27 -0700 (PDT)
From: Adam Weinberger <adam@vectors.cx>
Reply-To: Adam Weinberger <adam@vectors.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: patch: unbreak sysutil/battstat-applet
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         42450
>Category:       ports
>Synopsis:       patch: unbreak sysutil/battstat-applet
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 05 10:30:01 PDT 2002
>Closed-Date:    Sat Oct 05 09:30:23 PDT 2002
>Last-Modified:  Sat Oct 05 09:30:23 PDT 2002
>Originator:     Adam Weinberger
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD manifold.vectors.cx 4.6-STABLE FreeBSD 4.6-STABLE #10: Sat Jun 29 16:50:17 PDT 2002 root@manifold.vectors.cx:/usr/src/sys/compile/subspace i386


	
>Description:
	in the Makefile, REINPLACE_CMD was being fed escaped parentheses, which
	have special meaning. this patch fixes this, and thus unbreaks the package
	build process in:
	http://bento.freebsd.org/errorlogs/4-latest/battstat-applet-2.0.4.log
	
>How-To-Repeat:
	
>Fix:

	

--- Makefile.orig       Thu Sep  5 10:10:18 2002
+++ Makefile    Thu Sep  5 10:10:33 2002
@@ -27,7 +27,7 @@
        @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
                 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
        @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
-               's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
-                s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
+               's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
+                s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
								  
 .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Sat Oct 5 09:30:07 PDT 2002 
State-Changed-Why:  
superseded by pr/43684 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42450 
>Unformatted:
