ports/97522: [MAINTAINER] graphics/gnash: turn annoying gnash-dbg.log into dotfile

Dmitry Marakasov amdmi3 at mail.ru
Sat May 20 12:40:13 UTC 2006


>Number:         97522
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/gnash: turn annoying gnash-dbg.log into dotfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 20 12:40:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 15:07:32 MSD 2006 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
Every time gnash plugin is launched, gnash-dbg.log file is created in current dir.
I consider this annoying, so I think it's better to have gnash debug log as a dotfile.
>How-To-Repeat:
Run firefox/opera when gnash plugin is present.
>Fix:

--- gnash.patch begins here ---
diff -ruN gnash.old/Makefile gnash/Makefile
--- gnash.old/Makefile	Mon May  8 19:44:41 2006
+++ gnash/Makefile	Sat May 20 16:23:52 2006
@@ -48,6 +48,7 @@
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} -e 's|gnash-dbg.log|.gnash-dbg.log|' ${WRKSRC}/libbase/log.h
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g;s|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
 .if !defined(WITH_PLUGIN)
--- gnash.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list