If a port should not attempt to run a configure script, simply don't
set CONFIGURE_STYLE at all.
The perl and pyton modules use CONFIGURE_STYLE=none for their own
purposes. Also, some ports use it to disable a default provided
by Makefile.inc. Apart from that, CONFIGURE_STYLE=none has no meaning.
ok semarie@ ajacoutot@ kn@ sthen@
At least one of the older binary bootstraps was still using direct system
calls. This also changes amd64 to use binary bootstrap, as the native
go-bootstrap is no longer useful due to recent syscall removals.
This adds internal linking support for calling SDYNIMPORT calls on
openbsd/mips64, which avoids the requirement for external linking with
libc-based system calls. This in turn allows for cross compilation and
reduces build/compilation time.
go1.18.2 (released 2022-05-10) includes security fixes to the
syscall package, as well as bug fixes to the compiler, runtime, the
go command, and the crypto/x509, go/types, net/http/httptest,
reflect, and sync/atomic packages.
ok jsing@ (maintainer), who spotted a mistake of mine in the PLIST
if MODGO_FLAGS ends up in the environment as $GOFLAGS then go fails to
parse it and errors out:
% GOFLAGS='-p 1' go build
go: parsing $GOFLAGS: non-flag "1"
ok abieber@
<go.port.mk> deals with lots of distfiles (read: go modules);
so many, that make(1) gets noticably slow doing thousands of variable
expansions, subtitutions, etc.
Use simpler `filename{url}sufx' bsd.port.mk(5) syntax in crafting DISTFILES
to avoid duplicate variable expansions.
Improvement for `time make -C net/telegraf show=PKGNAME` on my system:
telegraf-1.21.2
- 0m05.40s real 0m04.72s user 0m00.67s system
+ 0m04.45s real 0m03.73s user 0m00.72s system
No change in distinfo or builds.
sthen apparently had the same diff but never committed it
OK espie
this way, go ports will stop polluting /tmp with go-build${timestamp}
dirs, and should use WRKBUILD as intended.
went in a bulk build without fallout, thanks ajacoutot@
size of DISTFILES.
refactor MODGO_SETUP_WORKSPACE generation to avoid regex on DISTFILES,
instead build it up from module names to pass to a shell for loop, allowing
a big reduction in command line length.
parts from espie, parts from me
- Add a version argument (second) to modgo-gen-modules-helper.
- Change modgo-gen-modules target to fetch module info for the
current MODGO_VERSION of a port. Setting MODGO_VERSION=latest
will fetch the latest version the Go ecosystem knows about.
Similarly, if MODGO_VERSION is empty, fetch the latest
verstion Go knows about.
While here:
- Add '-trimpath' to MODGO_FLAGS.
OK danj@
This release includes security fixes to the archive/zip, math/big,
net, and net/http/httputil packages, as well as bug fixes to the
linker, the go command, and the net/http package.
ok jsing (maintainer, who noticed I forgot to update plist)