net-vpn/amneziawg-linux-kernel-module: remove WIREGUARD_VERSION var in Makefile
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
This commit is contained in:
@@ -39,6 +39,8 @@ pkg_setup() {
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "/^WIREGUARD_VERSION =/Id" "${S}/src/Makefile" || die
|
||||
|
||||
if kernel_is -ge 5 6 0; then
|
||||
# We need to select a directory with kernel sources.
|
||||
# Usually, /usr/src/linux is the right choise, so we check it first.
|
||||
|
||||
Reference in New Issue
Block a user