aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-30 15:16:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-30 15:16:04 +0000
commitcf037887fbcad12f501613b56a9a413c9707ec3c (patch)
treefa54b4eabd165c27ed780b0362404d9bd5f36c81 /main
parent4304b5c6e9e63fa82aec3c87425b5f00664d1472 (diff)
downloadaports-cf037887fbcad12f501613b56a9a413c9707ec3c.tar.bz2
aports-cf037887fbcad12f501613b56a9a413c9707ec3c.tar.xz
main/iscsitarget-grsec: use global _ksrc
this only affects buildtime so no pkgrel was bumped
Diffstat (limited to 'main')
-rw-r--r--main/iscsitarget-grsec/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/main/iscsitarget-grsec/APKBUILD b/main/iscsitarget-grsec/APKBUILD
index b593044200..184f8701bb 100644
--- a/main/iscsitarget-grsec/APKBUILD
+++ b/main/iscsitarget-grsec/APKBUILD
@@ -27,6 +27,7 @@ subpackages=
source="http://downloads.sourceforge.net/$_realname/$_realname-$_iscsiver.tar.gz
iscsitarget-1.4.18+linux-2.6.32.patch
"
+_ksrc=/usr/src/linux-headers-${_abi_release}
prepare() {
cd "$srcdir"/$_realname-$_iscsiver
@@ -39,14 +40,12 @@ prepare() {
build() {
cd "$srcdir"/$_realname-$_iscsiver
unset ARCH
- local ksrc=/usr/src/linux-headers-${_abi_release}
- make KSRC="$ksrc" kernel || return 1
+ make KSRC="$_ksrc" kernel || return 1
}
package() {
cd "$srcdir"/$_realname-$_iscsiver
- local ksrc=/usr/src/linux-headers-${_abi_release}
- make KSRC="$ksrc" DISTDIR="$pkgdir" install-kernel || return 1
+ make KSRC="$_ksrc" DISTDIR="$pkgdir" install-kernel || return 1
}
md5sums="9beca214c28949cce1716b49fec57de4 iscsitarget-1.4.19.tar.gz