commit: a459016e8e1e69062b2d76da52e288e6e3536be0
parent c99874c9a3bec4272d8777a5f88f2e7134a0ea70
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 9 Jul 2023 17:21:47 +0200
dev-lang/go: Remove remnants of /go1.4/
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/dev-lang/go/go-1.4_p20171003.ebuild b/dev-lang/go/go-1.4_p20171003.ebuild
@@ -20,14 +20,14 @@ DEPEND=""
RDEPEND=""
# The go tools should not cause the multilib-strict check to fail.
-QA_MULTILIB_PATHS="usr/lib/go1.4/pkg/tool/.*/.*"
+QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
# The go language uses *.a files which are _NOT_ libraries and should not be
# stripped. The test data objects should also be left alone and unstripped.
-STRIP_MASK="/usr/lib/go1.4/pkg/*.a
- /usr/lib/go1.4/src/debug/elf/testdata/*
- /usr/lib/go1.4/src/debug/dwarf/testdata/*
- /usr/lib/go1.4/src/runtime/race/*.syso
+STRIP_MASK="/usr/lib/go/pkg/*.a
+ /usr/lib/go/src/debug/elf/testdata/*
+ /usr/lib/go/src/debug/dwarf/testdata/*
+ /usr/lib/go/src/runtime/race/*.syso
"
S="${WORKDIR}/go"
@@ -75,8 +75,8 @@ pkg_postinst() {
# packages for every build we need to fix the timestamps. The compiler and
# linker are also checked - so we need to fix them too.
ebegin "fixing timestamps to avoid unnecessary rebuilds"
- tref="usr/lib/go1.4/pkg/*/runtime.a"
- find "${EROOT}/usr/lib/go1.4" -type f \
+ tref="usr/lib/go/pkg/*/runtime.a"
+ find "${EROOT}/usr/lib/go" -type f \
-exec touch -r "${EROOT}/${tref}" {} \;
eend $?
}