Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2016 04:51:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213697] [PATCH] devel/arduino-builder: Move GOPATH to GO_ENV, respect GO_ENV
Message-ID:  <bug-213697-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213697

            Bug ID: 213697
           Summary: [PATCH] devel/arduino-builder: Move GOPATH to GO_ENV,
                    respect GO_ENV
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: bsdports@kyle-evans.net
                CC: bsam@FreeBSD.org
          Keywords: patch

Created attachment 176053
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176053&action=
=3Dedit
svn(1) diff of devel/arduino-builder

This port does not currently respect GO_ENV, which can be kind of unfriendl=
y if
the it has been set in /etc/make.conf or otherwise.

Also, if one wanted to cross-build this port for another $ARCH, GO_ENV+=3D
GOOS=3Dfreebsd GOARCH=3Darm could get the job done without requiring any
modifications to the port itself. This specific case can be helpful when, f=
or
instance, lang/go14 won't build in qemu and building lang/go14 -> lang/go ->
devel/arduino-builder on an RPI B simply does not sound like a fun time.

Bump PORTREVISION for the change, since GO_ENV being taken into account cou=
ld
effectively alter the build results. `portlint` is still happy, and a poudr=
iere
test run works well.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213697-13>