aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-05-31 11:19:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-31 11:19:00 +0000
commit48561ded9e4488766885139258a98f32831f7310 (patch)
treead597aa8e5178b16e04b8bdf19fa2c360558660c
parentd44a4c3e0c9c62b590d2408ae5d362e6583bcc40 (diff)
downloadaports-48561ded9e4488766885139258a98f32831f7310.tar.bz2
aports-48561ded9e4488766885139258a98f32831f7310.tar.xz
community/wireguard-{rpi,vanilla}: initalize _extra_flavors
lua-aports will parts all APKBUILDs so we must explicitly initialize the _extra_flavors to avoid that lua-aports thinks that wireguard-vanilla on arm* has a wireguard-rpi2 subpackage due to the _extra_flavors leaking over from wireguard-rpi.
-rw-r--r--community/wireguard-rpi/APKBUILD1
-rw-r--r--community/wireguard-vanilla/APKBUILD1
2 files changed, 2 insertions, 0 deletions
diff --git a/community/wireguard-rpi/APKBUILD b/community/wireguard-rpi/APKBUILD
index b31a95885b..0b3d83456e 100644
--- a/community/wireguard-rpi/APKBUILD
+++ b/community/wireguard-rpi/APKBUILD
@@ -12,6 +12,7 @@ _krel=0
_kpkgver="$_kver-r$_krel"
# for custom kernels set $FLAVOR
+_extra_flavors=
if [ -z "$FLAVOR" ]; then
_flavor=rpi
case $CARCH in
diff --git a/community/wireguard-vanilla/APKBUILD b/community/wireguard-vanilla/APKBUILD
index 7c1657bc8b..ddfcabe354 100644
--- a/community/wireguard-vanilla/APKBUILD
+++ b/community/wireguard-vanilla/APKBUILD
@@ -12,6 +12,7 @@ _krel=0
_kpkgver="$_kver-r$_krel"
# for custom kernels set $FLAVOR
+_extra_flavors=
if [ -z "$FLAVOR" ]; then
_flavor=vanilla
case $CARCH in