summaryrefslogtreecommitdiff
path: root/sys-freebsd/freebsd-ubin
diff options
context:
space:
mode:
authorYuta Satoh <nigoro@gentoo.gr.jp>2015-11-23 20:56:34 +0900
committerYuta Satoh <nigoro@gentoo.gr.jp>2015-11-23 20:56:34 +0900
commit73a205d7991182e5d2e1f8135b8c1a4b7482ba4e (patch)
tree7a32089bc452d59fcd75694ba690b8a724b4e9b4 /sys-freebsd/freebsd-ubin
parentd2e0d720fd9440e55f2dab5eddecf4dd1f74364b (diff)
downloadgentoo-73a205d7991182e5d2e1f8135b8c1a4b7482ba4e.tar.gz
gentoo-73a205d7991182e5d2e1f8135b8c1a4b7482ba4e.tar.xz
sys-freebsd: Move use call from global scope to pkg_setup.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566522
Diffstat (limited to 'sys-freebsd/freebsd-ubin')
-rw-r--r--sys-freebsd/freebsd-ubin/freebsd-ubin-10.2-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-10.2-r1.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-10.2-r1.ebuild
index e3408e6df9b..ebaf8a0f4b9 100644
--- a/sys-freebsd/freebsd-ubin/freebsd-ubin-10.2-r1.ebuild
+++ b/sys-freebsd/freebsd-ubin/freebsd-ubin-10.2-r1.ebuild
@@ -28,8 +28,6 @@ EXTRACTONLY="
bin/
include/
"
-use zfs && EXTRACTONLY+="cddl/"
-use build && EXTRACTONLY+="sys/"
RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,${MULTILIB_USEDEP}]
ssl? ( dev-libs/openssl )
@@ -94,6 +92,10 @@ REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio
whois tftp man"
pkg_setup() {
+ # Add the required source files.
+ use zfs && EXTRACTONLY+="cddl/ "
+ use build && EXTRACTONLY+="sys/ "
+
use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= "
use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= "