go-md2man: disable module-mode (#12985)

* go-md2man: disable module-mode

* Update var/spack/repos/builtin/packages/go-md2man/package.py

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Daryl W. Grunau 2019-10-01 18:17:10 -06:00 committed by Adam J. Stewart
parent c1ecd037d7
commit 248bc17bb0

View file

@ -37,6 +37,7 @@ def install(self, spec, prefix):
with working_dir('src'): with working_dir('src'):
env['GOPATH'] = self.stage.source_path env['GOPATH'] = self.stage.source_path
env['GO111MODULE'] = 'off'
go = which('go') go = which('go')
go('build', '-v', join_path( go('build', '-v', join_path(
'github.com', 'cpuguy83', 'go-md2man')) 'github.com', 'cpuguy83', 'go-md2man'))