[BACK]Return to version.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / go

File: [cvs.NetBSD.org] / pkgsrc / lang / go / version.mk (download)

Revision 1.23.2.1, Mon May 1 09:55:46 2017 UTC (3 months, 2 weeks ago) by bsiegert
Branch: pkgsrc-2017Q1
Changes since 1.23: +2 -2 lines

Pullup ticket #5392 - requested by sevan
lang/go: build fix

Revisions pulled up:
- lang/go/version.mk                                            1.25

---
   Module Name:    pkgsrc
   Committed By:   maya
   Date:           Sun Apr 30 23:02:09 UTC 2017

   Modified Files:
           pkgsrc/lang/go: version.mk

   Log Message:
   go: match even more ARM with wildcards

   part 1 of PR pkg/52178 from aikchar

# $NetBSD: version.mk,v 1.23.2.1 2017/05/01 09:55:46 bsiegert Exp $

.include "../../mk/bsd.prefs.mk"

GO_VERSION=	1.8
GO14_VERSION=	1.4.3

ONLY_FOR_PLATFORM=	*-*-i386 *-*-x86_64 *-*-*arm*
NOT_FOR_PLATFORM=	SunOS-*-i386
.if ${MACHINE_ARCH} == "i386"
GOARCH=		386
GOCHAR=		8
.elif ${MACHINE_ARCH} == "x86_64"
GOARCH=		amd64
GOCHAR=		6
.elif !empty(MACHINE_ARCH:M*arm*)
GOARCH=		arm
GOCHAR=		5
.endif
PLIST_SUBST+=	GO_PLATFORM=${LOWER_OPSYS:Q}_${GOARCH:Q} GOARCH=${GOARCH:Q}
PLIST_SUBST+=	GOCHAR=${GOCHAR:Q}