diff options
Diffstat (limited to 'app-emulation/reg')
-rw-r--r-- | app-emulation/reg/reg-0.16.0_p20190102.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/reg/reg-0.16.0_p20190102.ebuild b/app-emulation/reg/reg-0.16.0_p20190102.ebuild index 3d7a774209c3..e1be9fc0449f 100644 --- a/app-emulation/reg/reg-0.16.0_p20190102.ebuild +++ b/app-emulation/reg/reg-0.16.0_p20190102.ebuild @@ -36,7 +36,7 @@ src_prepare() { src_compile() { pushd src/${EGO_PN} || die - GOPATH="${S}" go build -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/reg . || die + GOPATH="${S}" GO111MODULE=on go build -mod=vendor -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/reg . || die popd || die } |