[Bug 213697] [PATCH] devel/arduino-builder: Move GOPATH to GO_ENV, respect GO_ENV

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 22 04:51:55 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213697

            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 at FreeBSD.org
          Reporter: bsdports at kyle-evans.net
                CC: bsam at FreeBSD.org
          Keywords: patch

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

This port does not currently respect GO_ENV, which can be kind of unfriendly 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+=
GOOS=freebsd GOARCH=arm could get the job done without requiring any
modifications to the port itself. This specific case can be helpful when, for
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 could
effectively alter the build results. `portlint` is still happy, and a poudriere
test run works well.

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


More information about the freebsd-ports-bugs mailing list