Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2011 01:10:35 +0000
From:      Nali Toja <nalitoja@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161984: [patch] devel/libtool: don't split INFO doc (install)
Message-ID:  <86sjmhooz8.fsf@gmail.com>
Resent-Message-ID: <201110250120.p9P1K16r020849@freefall.freebsd.org>

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

>Number:         161984
>Category:       ports
>Synopsis:       [patch] devel/libtool: don't split INFO doc (install)
>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:   Tue Oct 25 01:20:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Nali Toja
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
prune old *.info files pregenerated without --no-split so that they're
not picked up by automake during install

cf. install-info-am target
>How-To-Repeat:
$ make install
$ ls -1 /usr/local/info/libtool*
/usr/local/info/libtool.info
/usr/local/info/libtool.info-1
/usr/local/info/libtool.info-2
>Fix:
--- nosplit.diff begins here ---
Index: devel/libtool/Makefile
===================================================================
RCS file: /a/.csup/ports/devel/libtool/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- devel/libtool/Makefile	11 Oct 2011 12:40:10 -0000	1.31
+++ devel/libtool/Makefile	25 Oct 2011 01:00:58 -0000
@@ -29,6 +29,9 @@ INFO?=		libtool
 MAN1=		libtool.1 libtoolize.1
 .endif
 
+post-extract:
+	@${RM} -f ${WRKSRC}/doc/*.info*
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|sed gsed|sed|g' \
 		-e 's|CC=cc|CC=${CC}|g' \
--- nosplit.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?86sjmhooz8.fsf>