Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2010 15:00:38 +0400
From:      Anonymous <swell.k@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/146826: [patch] lang/gawk: prevent makeinfo banner from appearing in info/dir
Message-ID:  <86r5l4ryjt.fsf@gmail.com>
Resent-Message-ID: <201005221110.o4MBA15W077729@freefall.freebsd.org>

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

>Number:         146826
>Category:       ports
>Synopsis:       [patch] lang/gawk: prevent makeinfo banner from appearing in info/dir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 22 11:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
Regen info docs.
>How-To-Repeat:
1. install the port
2. run info(1)

    ...
    Text creation and manipulation
    * Gawk: (gawk).                 A text scanning and processing language.
    This is gawk.info, produced by makeinfo version 4.11 from gawk.texi.

    This is gawk.info, produced by makeinfo version 4.11 from gawk.texi.

    ...

    Network applications
    * Gawkinet: (gawkinet).         TCP/IP Internetworking With `gawk'.
    This is gawkinet.info, produced by makeinfo version 4.11 from gawkinet.texi.

    This is gawkinet.info, produced by makeinfo version 4.11 from gawkinet.texi.

>Fix:
--- a.diff begins here ---
Index: lang/gawk/Makefile
===================================================================
RCS file: /a/.cvsup/ports/lang/gawk/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- lang/gawk/Makefile	30 Apr 2010 12:02:04 -0000	1.30
+++ lang/gawk/Makefile	22 May 2010 10:49:05 -0000
@@ -32,4 +32,7 @@ CONFIGURE_ARGS+=--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
+post-extract:	.SILENT
+	${RM} -f ${WRKSRC}/doc/*.info
+
 .include <bsd.port.mk>
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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