eclass/coreos-go: Run "default" in src_prepare for EAPI=6

This allows ebuilds with EAPI=6 to inherit coreos-go without
requiring them to define a src_prepare just to run eapply_user.
This commit is contained in:
David Michael 2017-08-18 17:42:58 -07:00
parent 8cd9d5d96f
commit 9ef83b8050

View File

@ -57,6 +57,7 @@ go_build() {
coreos-go_src_prepare() {
debug-print-function ${FUNCNAME} "$@"
has ${EAPI:-0} 6 && default
go_export
export GOPATH="${WORKDIR}/gopath"