diff options
author | Yuta Satoh <nigoro@gentoo.gr.jp> | 2015-11-23 20:56:34 +0900 |
---|---|---|
committer | Yuta Satoh <nigoro@gentoo.gr.jp> | 2015-11-23 20:56:34 +0900 |
commit | 73a205d7991182e5d2e1f8135b8c1a4b7482ba4e (patch) | |
tree | 7a32089bc452d59fcd75694ba690b8a724b4e9b4 /sys-freebsd/freebsd-sbin | |
parent | sys-devel/autogen: fix use of hardcoded /tmp paths during build #563352 (diff) | |
download | gentoo-73a205d7991182e5d2e1f8135b8c1a4b7482ba4e.tar.gz gentoo-73a205d7991182e5d2e1f8135b8c1a4b7482ba4e.tar.bz2 gentoo-73a205d7991182e5d2e1f8135b8c1a4b7482ba4e.zip |
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-sbin')
-rw-r--r-- | sys-freebsd/freebsd-sbin/freebsd-sbin-10.2.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-10.2.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-10.2.ebuild index 7836556cb9d9..5f5589a4e8d6 100644 --- a/sys-freebsd/freebsd-sbin/freebsd-sbin-10.2.ebuild +++ b/sys-freebsd/freebsd-sbin/freebsd-sbin-10.2.ebuild @@ -21,7 +21,6 @@ EXTRACTONLY=" usr.sbin/ etc/ " -use build && EXTRACTONLY+="sys/" RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?] =sys-freebsd/freebsd-libexec-${RV}* @@ -43,6 +42,9 @@ S="${WORKDIR}/sbin" IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware" pkg_setup() { + # Add the required source files. + use build && EXTRACTONLY+="sys/ " + use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX=" use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= " |