Date: Sat, 8 Feb 2003 10:58:05 -0800 (PST) From: Gerald Pfeifer <gerald@FreeBSD.org> To: njyoder@gummibears.nu, gerald@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, gerald@FreeBSD.org Subject: Re: ports/48022: gcc 3.2.1 port aborts on errors during install Message-ID: <200302081858.h18Iw5eJ080415@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: gcc 3.2.1 port aborts on errors during install State-Changed-From-To: open->feedback State-Changed-By: gerald State-Changed-When: Sat Feb 8 10:55:03 PST 2003 State-Changed-Why: I believe I know what's going on here. Basically, your version of makeinfo most probably is too old; apart from updating to a later version of FreeBSD the patch below should fix this. Would you mind testing the following patch and let us know whether it works for you? Thanks, Gerald Index: Makefile =================================================================== RCS file: /home/ncvs/ports/lang/gcc32/Makefile,v retrieving revision 1.138 diff -u -3 -p -r1.138 Makefile --- Makefile 8 Feb 2003 18:34:17 -0000 1.138 +++ Makefile 8 Feb 2003 18:53:28 -0000 @@ -157,7 +157,11 @@ post-install: ${RM} -f ${PREFIX}/lib/libiberty.a ${RM} -f ${TARGLIB}/*.la .for info in cpp cppinternals g77 gcc gcj - install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir + # Only install info files if we have been able to build them, that + # is, if our version of makeinfo is not too old. + if ! makeinfo --version | egrep '4.[01]' > /dev/null ; then + install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir + fi .endfor # I am sick and tired of the anonyance that man pages can only be generated if # perl 5.6 is installed. This is becoming a royal PITA on non-5-CURRENT systems Responsible-Changed-From-To: freebsd-ports-bugs->gerald Responsible-Changed-By: gerald Responsible-Changed-When: Sat Feb 8 10:55:03 PST 2003 Responsible-Changed-Why: I believe I know what's going on here. Basically, your version of makeinfo most probably is too old; apart from updating to a later version of FreeBSD the patch below should fix this. Would you mind testing the following patch and let us know whether it works for you? Thanks, Gerald Index: Makefile =================================================================== RCS file: /home/ncvs/ports/lang/gcc32/Makefile,v retrieving revision 1.138 diff -u -3 -p -r1.138 Makefile --- Makefile 8 Feb 2003 18:34:17 -0000 1.138 +++ Makefile 8 Feb 2003 18:53:28 -0000 @@ -157,7 +157,11 @@ post-install: ${RM} -f ${PREFIX}/lib/libiberty.a ${RM} -f ${TARGLIB}/*.la .for info in cpp cppinternals g77 gcc gcj - install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir + # Only install info files if we have been able to build them, that + # is, if our version of makeinfo is not too old. + if ! makeinfo --version | egrep '4.[01]' > /dev/null ; then + install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir + fi .endfor # I am sick and tired of the anonyance that man pages can only be generated if # perl 5.6 is installed. This is becoming a royal PITA on non-5-CURRENT systems http://www.freebsd.org/cgi/query-pr.cgi?pr=48022 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302081858.h18Iw5eJ080415>