From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/open-vm-tools/
Date: Fri, 25 Nov 2016 23:29:14 +0000 (UTC) [thread overview]
Message-ID: <1480116553.fb89d0263a9b10f4467d892d785e3b55b527c6d5.floppym@gentoo> (raw)
commit: fb89d0263a9b10f4467d892d785e3b55b527c6d5
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 23:25:50 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 23:29:13 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb89d026
app-emulation/open-vm-tools: optionally build kernel modules
The build system does some crazy stuff that is difficult to replicate in
open-vm-tools-kmod.
Package-Manager: portage-2.3.2_p8
app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild b/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild
index 2c653a5..11dd15e 100644
--- a/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild
+++ b/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild
@@ -3,8 +3,9 @@
# $Id$
EAPI=6
+MODULES_OPTIONAL_USE="modules"
-inherit autotools flag-o-matic pam systemd toolchain-funcs user
+inherit autotools linux-mod pam systemd toolchain-funcs user
DESCRIPTION="Opensourced tools for VMware guests"
HOMEPAGE="https://github.com/vmware/open-vm-tools"
@@ -71,7 +72,6 @@ src_configure() {
--disable-tests
--with-procps
--with-dnet
- --without-kernel-modules
$(use_enable doc docs)
$(use_enable grabbitmqproxy)
$(use_enable vgauth)
@@ -84,6 +84,10 @@ src_configure() {
$(use_with X gtk3)
$(use_with X gtkmm3)
$(use_with X x)
+
+ $(use_with modules kernel-modules)
+ --without-root-privileges
+ --with-kernel-release="${KV_FULL}"
)
econf "${myeconfargs[@]}"
@@ -92,6 +96,11 @@ src_configure() {
find . -name Makefile -exec sed -i -e 's/-Werror//g' '{}' + || die "sed out Werror failed"
}
+src_compile() {
+ use modules && set_arch_to_kernel
+ default
+}
+
src_install() {
default
prune_libtool_files --modules
@@ -117,4 +126,5 @@ src_install() {
pkg_postinst() {
enewgroup vmware
+ linux-mod_pkg_postinst
}
next reply other threads:[~2016-11-25 23:29 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-25 23:29 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-30 11:38 [gentoo-commits] repo/gentoo:master commit in: app-emulation/open-vm-tools/ David Seifert
2024-11-03 13:48 David Seifert
2024-10-03 10:43 David Seifert
2024-09-23 9:14 Arthur Zamarin
2024-07-10 9:51 David Seifert
2024-07-10 9:51 David Seifert
2024-05-09 20:49 Sam James
2023-06-19 16:58 Arthur Zamarin
2023-06-19 16:58 Arthur Zamarin
2023-06-18 20:25 Mike Gilbert
2023-06-18 20:25 Mike Gilbert
2023-06-18 20:25 Mike Gilbert
2023-06-02 11:07 Arthur Zamarin
2023-06-01 20:04 Sam James
2023-04-24 18:52 Mike Gilbert
2023-04-15 5:40 Sam James
2022-10-22 2:45 Mike Gilbert
2022-09-20 7:45 Jakov Smolić
2022-09-20 0:07 Sam James
2022-09-09 15:23 Mike Gilbert
2022-06-04 14:13 Mike Gilbert
2022-06-04 14:13 Mike Gilbert
2022-06-03 21:32 Jakov Smolić
2022-06-03 21:32 Jakov Smolić
2022-06-03 18:32 Mike Gilbert
2022-01-03 22:06 Mike Gilbert
2021-11-23 22:19 Sam James
2021-09-26 0:53 Mike Gilbert
2021-09-25 23:46 Sam James
2021-09-24 15:37 Sam James
2021-09-24 14:05 Mike Gilbert
2021-06-27 2:08 Sam James
2021-06-24 23:27 Sam James
2021-02-10 0:16 Mike Gilbert
2021-01-06 8:07 Sam James
2020-12-24 10:03 Agostino Sarubbo
2020-12-14 16:55 Mike Gilbert
2020-12-14 16:55 Mike Gilbert
2020-11-16 19:25 Mike Gilbert
2020-05-09 22:19 Mike Gilbert
2019-12-19 18:10 Mike Gilbert
2019-10-12 18:38 Mikle Kolyada
2019-08-17 18:03 Mike Gilbert
2019-04-12 20:22 Michał Górny
2019-04-12 17:53 Mike Gilbert
2019-02-15 21:21 Mike Gilbert
2018-12-18 17:12 Mike Gilbert
2018-12-18 16:58 Mike Gilbert
2018-07-04 23:54 Mike Gilbert
2018-07-04 14:56 Mike Gilbert
2018-07-04 14:56 Mike Gilbert
2017-11-30 16:35 Mike Gilbert
2017-11-29 23:30 Mike Gilbert
2017-11-29 23:25 Mike Gilbert
2017-08-08 17:01 Mike Gilbert
2017-08-04 19:51 Mike Gilbert
2017-08-04 19:51 Mike Gilbert
2017-08-04 19:51 Mike Gilbert
2016-12-05 15:37 Mike Gilbert
2016-11-27 18:17 Mike Gilbert
2016-11-26 4:18 Mike Gilbert
2016-11-26 4:01 Mike Gilbert
2016-11-26 1:46 Mike Gilbert
2016-11-25 23:59 Mike Gilbert
2016-11-25 23:37 Mike Gilbert
2016-07-22 21:24 Mike Gilbert
2016-02-18 0:51 Mike Gilbert
2016-01-01 21:22 Pacho Ramos
2015-09-18 1:37 Mike Gilbert
2015-08-23 23:41 Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1480116553.fb89d0263a9b10f4467d892d785e3b55b527c6d5.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox