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 @@
 include/bfd.h
 include/bfdlink.h
 include/obstack.h
- at unexec install-info --delete %D/info/cpp.info %D/info/dir
- at unexec install-info --delete %D/info/gcc.info %D/info/dir
-info/cpp.info
-info/cpp.info-1
-info/cpp.info-2
-info/cpp.info-3
-info/gcc.info
-info/gcc.info-1
-info/gcc.info-10
-info/gcc.info-11
-info/gcc.info-12
-info/gcc.info-13
-info/gcc.info-14
-info/gcc.info-15
-info/gcc.info-16
-info/gcc.info-17
-info/gcc.info-18
-info/gcc.info-19
-info/gcc.info-2
-info/gcc.info-20
-info/gcc.info-21
-info/gcc.info-22
-info/gcc.info-23
-info/gcc.info-24
-info/gcc.info-25
-info/gcc.info-3
-info/gcc.info-4
-info/gcc.info-5
-info/gcc.info-6
-info/gcc.info-7
-info/gcc.info-8
-info/gcc.info-9
- at exec install-info %D/info/cpp.info %D/info/dir
- at exec install-info %D/info/gcc.info %D/info/dir
 lib/gcc-lib/i386-go32/2.7.2.2/SYSCALLS.c.X
 lib/gcc-lib/i386-go32/2.7.2.2/cc1
 lib/gcc-lib/i386-go32/2.7.2.2/cc1obj
%%%


Cheers,
-- 
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