Commit Graph

12 Commits

Author SHA1 Message Date
Tony Theodore e7b9a21056 native pkgs: use explicit cross-target deps and remove empty rules 2017-12-23 08:18:52 +11:00
Tony Theodore 1b1b9c9a9a various packages: run `make refresh-patches` with numbering 2017-11-19 11:29:22 +11:00
Boris Nagaev 0c4807ff0e go: update from 1.7.4 to 1.8
Release notes of new release: https://golang.org/doc/go1.8
The patch adding support of PKG_CONFIG is not needed anymore:
it was merged to upstream: https://github.com/golang/go/commit/5dcb31b2d55
2017-02-18 02:35:14 +01:00
Boris Nagaev ed4948e9f5 go: remove target directory before copying to it
Otherwise when the version is updated and the package is rebuilt,
the target directory contains two mixed installations.
2017-02-18 02:35:14 +01:00
Boris Nagaev 23cdc092f1 update Go to 1.7.4 2016-12-05 10:14:11 +01:00
Boris Nagaev 2163a8f464 update go to 1.7.3 2016-11-24 05:25:08 +03:00
Boris Nagaev a7759eecac fix build of go-native on Debian 8 Stretch
See https://github.com/golang/go/issues/13896
2016-11-17 04:00:49 +03:00
Boris Nagaev c2012dc328 s/environmental variable/environment variable/
"Environment variable" is more commonly used.
2016-10-02 19:27:32 +03:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
Boris Nagaev 1d4a6c891b README of go plugin: use make var. instead of env 2016-07-07 01:47:19 +03:00
Tony Theodore b57e1bc835 go plugin: fix build on darwin
build fails with:

```
fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES)
```

building with `-ldflags -linkmode=external`[1] and `CGO_ENABLED=1` has no
affect on `go-native`, it does let `go` bootstrap, but then fails with a
similar error:

```
fatal error: runtime: bsdthread_register error
```

easiest to unset DYLD_INSERT_LIBRARIES - no need to check for `darwin` as it
only exists on that platform.

[1] https://github.com/golang/go/issues/8801#issuecomment-66460009
2016-07-06 19:09:41 +10:00
Boris Nagaev ed68885143 add Go plugin 2016-07-05 12:25:23 +03:00