From 5d440177d68243aa0cddc4d5d148a6b02e1d88bd Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 18 Jan 2021 16:01:42 -0600 Subject: 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 --- dev-lang/go/go-1.14.13-r1.ebuild | 8 -------- 1 file changed, 8 deletions(-) (limited to 'dev-lang/go/go-1.14.13-r1.ebuild') 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() { -- cgit v1.2.3-65-gdbad