diff options
-rw-r--r-- | app-admin/consul-template/consul-template-0.12.2.ebuild | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app-admin/consul-template/consul-template-0.12.2.ebuild b/app-admin/consul-template/consul-template-0.12.2.ebuild index 745c5479a11..ab46d48dd0d 100644 --- a/app-admin/consul-template/consul-template-0.12.2.ebuild +++ b/app-admin/consul-template/consul-template-0.12.2.ebuild @@ -63,6 +63,7 @@ get_archive_go_package() { local archive=${1} uri x case ${archive} in go-sys-*) echo "sys-* golang.org/x/sys"; return;; + go-yaml-v2-*) echo "yaml-* gopkg.in/yaml.v2"; return;; esac for x in ${SRC_URI}; do if [[ ${x} == http* ]]; then @@ -100,9 +101,6 @@ src_prepare() { -e 's:-ldflags.*:\\:' \ -i scripts/build.sh || die - sed -e 's:gopkg.in/yaml.v2:github.com/go-yaml/yaml:' \ - -i template_functions.go || die - # Create a writable GOROOT in order to avoid sandbox violations. export GOROOT="${WORKDIR}/goroot" cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die |