Am 07.12.2011 09:32, schrieb Dimitry Andric:
> That said, you are most likely running into an issue with the fix for
> FreeBSD 10-CURRENT in bsd.port.mk, causing the lto-plugin stage
> configure script to fail.
> 
> This is because the gcc ports unpack their source code into
> ${WRKDIR}/gcc-${VERSIONSTRING}, and then override WRKSRC to
> ${WRKDIR}/build.  Since bsd.port.mk only applies the run-autotools-fixup
> to ${WRKSRC}, the gcc source itself is not properly fixed up.
> 
> You can try the attached patch, which fixes this (and fixes it for all
> other ports that override WKRSRC).

I had solved a similar problem for BDB a few weeks back and made the
same modification (start searching in WRKDIR instead of in WRKSRC).

This leads to (minimally) higher run time for the fixup, but it should
make a number of ports currently broken on FBSD10 automagically build
again ...

And the pattern for libtool/configure type files should sufficiently
prevent patching of files not touched by the current invocation of "find".

SO I'd vote to get that patch into SVN ...

Regards, STefan
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to