summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2016-12-06 19:54:48 +0100
committerJason A. Donenfeld <zx2c4@gentoo.org>2016-12-06 19:54:56 +0100
commit5162a26ae15cd7ce4c1aa4c5b8a053e2043aec71 (patch)
tree53b46d68c7aa9f677bd48935a923db0ea3cd6add
parentvirtual/perl-*: -r bump all changed virtuals for propagation (diff)
downloadgentoo-5162a26ae15cd7ce4c1aa4c5b8a053e2043aec71.tar.gz
gentoo-5162a26ae15cd7ce4c1aa4c5b8a053e2043aec71.tar.bz2
gentoo-5162a26ae15cd7ce4c1aa4c5b8a053e2043aec71.zip
net-misc/wireguard: use dkms target for source-only install
Package-Manager: portage-2.3.2
-rw-r--r--net-misc/wireguard/wireguard-9999.ebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild
index 50d9d1c3749c..97b0aa0df5ee 100644
--- a/net-misc/wireguard/wireguard-9999.ebuild
+++ b/net-misc/wireguard/wireguard-9999.ebuild
@@ -50,9 +50,7 @@ src_install() {
dodoc -r contrib/examples
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src/tools install
if use kmod-src; then
- dodir /usr/src
- rm -r "${S}"/src/tools || die
- mv -v "${S}"/src "${ED}"usr/src/wireguard || die
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C src dkms-install
else
linux-mod_src_install
fi