diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2016-12-06 19:54:48 +0100 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2016-12-06 19:54:56 +0100 |
commit | 5162a26ae15cd7ce4c1aa4c5b8a053e2043aec71 (patch) | |
tree | 53b46d68c7aa9f677bd48935a923db0ea3cd6add | |
parent | virtual/perl-*: -r bump all changed virtuals for propagation (diff) | |
download | gentoo-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.ebuild | 4 |
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 |