ports/contrib (3.2): go: work around file modes bug
commit 670e5706357c96667c7c0bd3503e593ba5ecd35c Author: Matt Housh <jaeger@crux.ninja> Date: Thu Aug 18 18:40:55 2016 -0500 go: work around file modes bug diff --git a/go/.footprint b/go/.footprint index b9bf2a2..7ce99d7 100644 --- a/go/.footprint +++ b/go/.footprint @@ -1219,7 +1219,7 @@ drwxr-xr-x root/root usr/lib/go/pkg/linux_amd64/sync/ -rw-r--r-- root/root usr/lib/go/pkg/linux_amd64/testing.a drwxr-xr-x root/root usr/lib/go/pkg/linux_amd64/testing/ -rw-r--r-- root/root usr/lib/go/pkg/linux_amd64/testing/iotest.a --rwxr-xr-x root/root usr/lib/go/pkg/linux_amd64/testing/quick.a +-rw-r--r-- root/root usr/lib/go/pkg/linux_amd64/testing/quick.a drwxr-xr-x root/root usr/lib/go/pkg/linux_amd64/text/ -rw-r--r-- root/root usr/lib/go/pkg/linux_amd64/text/scanner.a -rw-r--r-- root/root usr/lib/go/pkg/linux_amd64/text/tabwriter.a diff --git a/go/Pkgfile b/go/Pkgfile index 4d2f2e8..f8e4b82 100644 --- a/go/Pkgfile +++ b/go/Pkgfile @@ -35,4 +35,7 @@ build() { install -d $PKG/usr/bin ln -s /usr/lib/go/bin/go $PKG/usr/bin/ ln -s /usr/lib/go/bin/gofmt $PKG/usr/bin/ + + # work around a bug in the build system + find $PKG -name "*.a" -exec chmod 644 '{}' \; }
participants (1)
-
crux@crux.nu