summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-01-18 16:01:42 -0600
committerWilliam Hubbs <williamh@gentoo.org>2021-01-18 16:02:42 -0600
commit5d440177d68243aa0cddc4d5d148a6b02e1d88bd (patch)
tree823f1f462dfbe84a4f6088c38f3c34b3bbd6f187 /dev-lang
parentdev-libs/libsigc++: Version bump to 2.10.6 (diff)
downloadgentoo-5d440177d68243aa0cddc4d5d148a6b02e1d88bd.tar.gz
gentoo-5d440177d68243aa0cddc4d5d148a6b02e1d88bd.tar.bz2
gentoo-5d440177d68243aa0cddc4d5d148a6b02e1d88bd.zip
dev-lang/go: remove unneeded MacOS support code
We no longer install the testdata directories, so we don't need this code. Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/go/go-1.14.13-r1.ebuild8
-rw-r--r--dev-lang/go/go-1.15.6-r1.ebuild8
-rw-r--r--dev-lang/go/go-9999.ebuild8
3 files changed, 0 insertions, 24 deletions
diff --git a/dev-lang/go/go-1.14.13-r1.ebuild b/dev-lang/go/go-1.14.13-r1.ebuild
index ebfb8c5bc2b5..55fd0c4f6bf1 100644
--- a/dev-lang/go/go-1.14.13-r1.ebuild
+++ b/dev-lang/go/go-1.14.13-r1.ebuild
@@ -181,14 +181,6 @@ src_install()
# install the @golang-rebuild set for Portage
insinto /usr/share/portage/config/sets
newins "${FILESDIR}"/go-sets.conf go.conf
-
- # fix install_name for test object (binutils_test) on Darwin, it
- # is never used in real circumstances
- if [[ ${CHOST} == *-darwin* ]] ; then
- local libmac64="${EPREFIX}"/usr/lib/go/src/cmd/vendor/github.com/
- libmac64+=google/pprof/internal/binutils/testdata/lib_mac_64
- install_name_tool -id "${libmac64}" "${D}${libmac64}"
- fi
}
pkg_postinst() {
diff --git a/dev-lang/go/go-1.15.6-r1.ebuild b/dev-lang/go/go-1.15.6-r1.ebuild
index ebfb8c5bc2b5..55fd0c4f6bf1 100644
--- a/dev-lang/go/go-1.15.6-r1.ebuild
+++ b/dev-lang/go/go-1.15.6-r1.ebuild
@@ -181,14 +181,6 @@ src_install()
# install the @golang-rebuild set for Portage
insinto /usr/share/portage/config/sets
newins "${FILESDIR}"/go-sets.conf go.conf
-
- # fix install_name for test object (binutils_test) on Darwin, it
- # is never used in real circumstances
- if [[ ${CHOST} == *-darwin* ]] ; then
- local libmac64="${EPREFIX}"/usr/lib/go/src/cmd/vendor/github.com/
- libmac64+=google/pprof/internal/binutils/testdata/lib_mac_64
- install_name_tool -id "${libmac64}" "${D}${libmac64}"
- fi
}
pkg_postinst() {
diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild
index 6bb792691ce1..39d69abc7b52 100644
--- a/dev-lang/go/go-9999.ebuild
+++ b/dev-lang/go/go-9999.ebuild
@@ -181,14 +181,6 @@ src_install()
# install the @golang-rebuild set for Portage
insinto /usr/share/portage/config/sets
newins "${FILESDIR}"/go-sets.conf go.conf
-
- # fix install_name for test object (binutils_test) on Darwin, it
- # is never used in real circumstances
- if [[ ${CHOST} == *-darwin* ]] ; then
- local libmac64="${EPREFIX}"/usr/lib/go/src/cmd/vendor/github.com/
- libmac64+=google/pprof/internal/binutils/testdata/lib_mac_64
- install_name_tool -id "${libmac64}" "${D}${libmac64}"
- fi
}
pkg_postinst() {