Skip to content

Commit

Permalink
e-sources: fix global-scope 'use' call
Browse files Browse the repository at this point in the history
  • Loading branch information
xen0n committed Oct 31, 2015
1 parent 059bde8 commit ae7fdbd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions eclass/e-sources.eclass
Expand Up @@ -213,8 +213,6 @@ done

features gentoo && REQUIRED_USE=" experimental? ( gentoo ) "

enable cjktty && UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} *fbcondecor*"

SRC_URI="
${SRC_URI}
${ARCH_URI}
Expand All @@ -223,6 +221,11 @@ SRC_URI="

UNIPATCH_STRICTORDER="yes"

pkg_setup() {
# never (directly or indirectly) call `use` in global scope
enable cjktty && UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} *fbcondecor*"
}

src_unpack() {
enable aufs && unpack ${aufs_tarball}
kernel-2_src_unpack
Expand Down

0 comments on commit ae7fdbd

Please sign in to comment.