svn commit: r459398 - in head: games/eduke32 multimedia/libvpx

Alexey Dokuchaev danfe at FreeBSD.org
Thu Jan 25 12:30:29 UTC 2018


On Thu, Jan 25, 2018 at 01:13:50PM +0100, Jan Beich wrote:
> Alexey Dokuchaev <danfe at FreeBSD.org> writes:
> > ...
> >  post-patch:
> >  	@${REINPLACE_CMD} 's|\(link_with_cc\)=gcc|\1=$${CC}|' \
> >  		${WRKSRC}/build/make/configure.sh
> > +	@${REINPLACE_CMD} 's|sparc-solaris-gcc|sparc-linux-gcc|' \
> > +		${WRKSRC}/configure
> 
> Why bother? Without CONFIGURE_ARGS_sparc64=sparc-linux-gcc the above
> is nop.

Without this replacement it does not configure on sparc64 (with default
CONFIGURE_ARGS):

...
===>  Configuring for libvpx-1.6.1_2
  disabling install_docs
  disabling install_srcs
  enabling pic
  enabling vp8
  enabling vp9
  enabling multi_res_encoding
  enabling postproc
  enabling vp9_postproc
  enabling vp9_temporal_denoising
  enabling runtime_cpu_detect
  enabling shared
  disabling unit_tests
Unrecognized toolchain 'sparc-linux-gcc'

Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.log) to determine what
configure was trying to do when it died.
===>  Script "configure" failed unexpectedly.

> Besides, sparc-* targets are no longer special thus should be no different
> from generic-gnu.

Good, so it probably means this gimmick won't be needed in future versions.

./danfe


More information about the svn-ports-all mailing list