aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-03-21 09:44:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-21 09:47:33 +0000
commit4b7635b32da60305c8b90644642b6a9996c1cc29 (patch)
treeac082e24625a896f3ece7df0e55b8caef572910e /main
parent26aa4e1eabf66a91c0b3b8a249fc30663e8220b4 (diff)
downloadaports-4b7635b32da60305c8b90644642b6a9996c1cc29.tar.bz2
aports-4b7635b32da60305c8b90644642b6a9996c1cc29.tar.xz
main/linux-grsec: only build -dev package for supported arch/flavor
this fixes build on armhf which previously built linux-virtgrsec-dev package even if there are no linux-virtgrsec for armhf.
Diffstat (limited to 'main')
-rw-r--r--main/linux-grsec/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD
index 464c3dcf63..1f26d2c945 100644
--- a/main/linux-grsec/APKBUILD
+++ b/main/linux-grsec/APKBUILD
@@ -27,7 +27,7 @@ source="https://kernel.org/pub/linux/kernel/v4.x/linux-$_kernver.tar.xz
config-virtgrsec.x86
config-virtgrsec.x86_64
"
-subpackages="$pkgname-dev:_dev linux-virtgrsec-dev:_dev"
+subpackages="$pkgname-dev:_dev"
_flavors=
for _i in $source; do
case $_i in
@@ -36,7 +36,7 @@ for _i in $source; do
_f=${_f#config-}
_flavors="$_flavors ${_f}"
if [ "linux-$_f" != "$pkgname" ]; then
- subpackages="$subpackages linux-${_f}"
+ subpackages="$subpackages linux-${_f} linux-${_f}-dev:_dev"
fi
;;
esac