aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtables-addons-grsec
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-30 06:50:11 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-30 06:50:11 +0000
commit3cbacc3c5e414a58ae215445519eb46db4921e08 (patch)
treefdda868b3483e251d6dd9c91f429ae094f093b45 /main/xtables-addons-grsec
parentd48c529a8295229678d40751772417ef08a681f4 (diff)
downloadaports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.bz2
aports-3cbacc3c5e414a58ae215445519eb46db4921e08.tar.xz
main/[various]: update config.sub
Diffstat (limited to 'main/xtables-addons-grsec')
-rw-r--r--main/xtables-addons-grsec/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/xtables-addons-grsec/APKBUILD b/main/xtables-addons-grsec/APKBUILD
index 78d0b999a5..dcfdd830ab 100644
--- a/main/xtables-addons-grsec/APKBUILD
+++ b/main/xtables-addons-grsec/APKBUILD
@@ -34,13 +34,15 @@ install_if="linux-$_flavor=$_kernelver $_realname"
subpackages=
source="http://downloads.sourceforge.net/$_realname/$_realname-$_realver.tar.xz"
-# override kernel's prepare()
+_builddir="$srcdir/$_realname-$_realver"
+
prepare() {
- :
+ cd "$_builddir"
+ update_config_sub || return 1
}
build() {
- cd "$srcdir/$_realname-$_realver"
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -54,7 +56,7 @@ build() {
}
package() {
- cd "$srcdir/$_realname-$_realver"/extensions
+ cd "$_builddir/extensions"
make DESTDIR="$pkgdir" modules_install
}