Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2018 19:00:35 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Ruslan Bukin <br@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r472783 - head/Templates
Message-ID:  <y3fa-yamk-wny@FreeBSD.org>
In-Reply-To: <201806191236.w5JCarwQ059758@repo.freebsd.org> (Ruslan Bukin's message of "Tue, 19 Jun 2018 12:36:53 %2B0000 (UTC)")
References:  <201806191236.w5JCarwQ059758@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Bukin <br@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y3fa-yamk-wny>