ports broken due to texinfo upgrade (was: Re: [ports-i386@pointyhat.freebsd.org: gnus-emacs20-5.8.8_3 pkg-plist errors on i386 6])

Ruslan Ermilov ru at FreeBSD.org
Mon Jun 6 08:13:14 GMT 2005

Hi Kris,

On Sun, Jun 05, 2005 at 08:57:38PM -0400, Kris Kennaway wrote:
> A number of ports are behaving differently since the recent texinfo
> import.  Can you please develop patches?
I won't fix all the ports myself since: a) these are the bugs in
the ports; b) these ports have their maintainers; c) they're
supposedly reading this.  :-)

The fix is as easy as removing *.info dust from pkg-plist and using
the INFO feature from bsd.port.mk.  An example (untested) patch for
devel/crossgo32 is:

Index: Makefile
RCS file: /home/ncvs/ports/devel/crossgo32/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile	22 May 2004 16:21:45 -0000	1.24
+++ Makefile	6 Jun 2005 08:01:07 -0000
@@ -31,6 +31,7 @@
 	i386-go32-strip.1 i386-go32-objcopy.1 i386-go32-nlmconv.1\
 	i386-go32-g++.1 i386-go32-gcc.1 cccp.1\
 	i386-go32-c++filt.1 configure.1 i386-go32-as.1 i386-go32-ld.1
+INFO=	cpp gcc
 DOCDIR=		${PREFIX}/share/doc/crossgo32
 GO32DIR=	${PREFIX}/share/crossgo32
Index: pkg-plist
RCS file: /home/ncvs/ports/devel/crossgo32/pkg-plist,v
retrieving revision 1.6
diff -u -r1.6 pkg-plist
--- pkg-plist	24 Dec 2001 02:13:56 -0000	1.6
+++ pkg-plist	6 Jun 2005 08:01:25 -0000
@@ -97,40 +97,6 @@
- at unexec install-info --delete %D/info/cpp.info %D/info/dir
- at unexec install-info --delete %D/info/gcc.info %D/info/dir
- at exec install-info %D/info/cpp.info %D/info/dir
- at exec install-info %D/info/gcc.info %D/info/dir

Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050606/1f2cf41c/attachment.bin

More information about the freebsd-ports mailing list