Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2002 10:23:27 -0700 (PDT)
From:      Adam Weinberger <adam@vectors.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42450: patch: unbreak sysutil/battstat-applet
Message-ID:  <200209051723.g85HNRkk083038@vectors.cx>

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

>Number:         42450
>Category:       ports
>Synopsis:       patch: unbreak sysutil/battstat-applet
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 05 10:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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