dev-lang/go: fix go-1.5 build on arm
authorWilliam Hubbs <williamh@gentoo.org>
Fri, 4 Sep 2015 15:44:07 +0000 (10:44 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Fri, 4 Sep 2015 15:46:14 +0000 (10:46 -0500)
This is for bug #558742. Thanks to Stefan Junker for the report.

dev-lang/go/go-1.5.ebuild

index 691efef0696e0b2dc91cf7983dbe64c1133f341f..6fc180ca12dc23c63baaeaffbfba13e90d2bb953 100644 (file)
@@ -59,9 +59,9 @@ go_arch()
 go_arm()
 {
        case "${1:-${CHOST}}" in
-               armv5 echo 5;;
-               armv6 echo 6;;
-               armv7 echo 7;;
+               armv5*) echo 5;;
+               armv6*) echo 6;;
+               armv7*) echo 7;;
                *)
                        die "unknown GOARM for ${1:-${CHOST}}"
                        ;;