svn commit: r472783 - head/Templates

Ruslan Bukin ruslan.bukin at cl.cam.ac.uk
Wed Jun 20 10:26:35 UTC 2018


Hi Jan

I made required changes (based on previous updates to these scripts):
https://reviews.freebsd.org/D15925

So I wonder how to exp-run these now ?
I did a try to build few ports on amd64, riscv and it works.

Also config.guess now guessing correctly:

br at qemu:/usr/ports/Templates % sh config.guess 
riscv64-unknown-freebsd12.0

0 pie:/usr/ports/Templates >sh config.guess
amd64-unknown-freebsd11.2

Ruslan

On Wed, Jun 20, 2018 at 10:35:29AM +0100, Ruslan Bukin wrote:
> Will take a look.
> Sorry and thanks :)
> 
> Ruslan
> 
> On Tue, Jun 19, 2018 at 07:00:35PM +0200, Jan Beich wrote:
> > Ruslan Bukin <br at FreeBSD.org> writes:
> > 
> > > Author: br (src committer)
> > > Date: Tue Jun 19 12:36:52 2018
> > > New Revision: 472783
> > > URL: https://svnweb.freebsd.org/changeset/ports/472783
> > >
> > > Log:
> > >   Update config.guess and config.sub to the latest version.
> > >   
> > >   RISC-V machine added to config.sub allowing us to build
> > >   ports/packages for RISC-V.
> > >   
> > >   Sponsored by:	DARPA, AFRL
> > [...]
> > >      *:FreeBSD:*:*)
> > >  	UNAME_PROCESSOR=`/usr/bin/uname -p`
> > > -	echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
> > > +	case "$UNAME_PROCESSOR" in
> > > +	    amd64)
> > > +		UNAME_PROCESSOR=x86_64 ;;
> > > +	    i386)
> > > +		UNAME_PROCESSOR=i586 ;;
> > > +	esac
> > > +	echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
> > >  	exit ;;
> > 
> > Did you check for fallout via exp-run? See also
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208440
> > 
> > $ sh Templates/config.guess
> > i386-unknown-freebsd10.4
> > 
> > $ svn up Templates
> > Updating 'Templates':
> > U    Templates/config.guess
> > U    Templates/config.sub
> > Updated to revision 472804.
> > 
> > $ sh Templates/config.guess
> > i586-unknown-freebsd10.4
> > 
> > 
> > 
> > $ sh Templates/config.guess
> > amd64-unknown-freebsd12.0
> > 
> > $ svn up Templates
> > Updating 'Templates':
> > U    Templates/config.guess
> > U    Templates/config.sub
> > Updated to revision 472804.
> > 
> > $ sh Templates/config.guess
> > x86_64-unknown-freebsd12.0
> _______________________________________________
> svn-ports-head at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-head
> To unsubscribe, send any mail to "svn-ports-head-unsubscribe at freebsd.org"


More information about the svn-ports-all mailing list