aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCedric Schieli <cschieli@gmail.com>2010-03-22 13:57:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-31 08:31:53 +0000
commit95e8811c0c11689b0a75ab12313dc5c45d0204b9 (patch)
tree49d78ee2882bf3086bce743370779072adc2d829 /main
parent1ad9821f4795108e33e9a5eedae40fd428301ca8 (diff)
downloadaports-95e8811c0c11689b0a75ab12313dc5c45d0204b9.tar.bz2
aports-95e8811c0c11689b0a75ab12313dc5c45d0204b9.tar.xz
main/iscsitarget-grsec: set ksrc in package()
Signed-off-by: Cedric Schieli <cschieli@gmail.com>
Diffstat (limited to 'main')
-rw-r--r--main/iscsitarget-grsec/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/iscsitarget-grsec/APKBUILD b/main/iscsitarget-grsec/APKBUILD
index e86bea387e..710647021a 100644
--- a/main/iscsitarget-grsec/APKBUILD
+++ b/main/iscsitarget-grsec/APKBUILD
@@ -15,7 +15,7 @@ _iscsiver=1.4.19
pkgname=${_realname}-${_flavor}
pkgver=$_kver
-_mypkgrel=0
+_mypkgrel=1
pkgrel=$(($_kpkgrel + $_mypkgrel))
pkgdesc="$_flavor kernel modules for iscsitarget $_iscsiver"
url="http://iscsitarget.sourceforge.net/"
@@ -45,6 +45,7 @@ build() {
package() {
cd "$srcdir"/$_realname-$_iscsiver
+ local ksrc=/usr/src/linux-headers-${_abi_release}
make KSRC="$ksrc" DISTDIR="$pkgdir" install-kernel || return 1
}