diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-20 11:33:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-20 11:53:12 +0000 |
commit | c03e9b9116466dde9bae6b196abd51ca0da41254 (patch) | |
tree | 7f379433690ec958d6fa8e05bac358adee6d6f4f /main/strace | |
parent | 95ccf08570f6b8dc4b4a187ab22c5f2060cbfb77 (diff) | |
download | aports-c03e9b9116466dde9bae6b196abd51ca0da41254.tar.bz2 aports-c03e9b9116466dde9bae6b196abd51ca0da41254.tar.xz |
main/strace: buildfix for kernel-headers>=2.6.32
Diffstat (limited to 'main/strace')
-rw-r--r-- | main/strace/APKBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/main/strace/APKBUILD b/main/strace/APKBUILD index 40965ec9d2..d7a10cfd64 100644 --- a/main/strace/APKBUILD +++ b/main/strace/APKBUILD @@ -1,20 +1,28 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=strace pkgver=4.5.19 -pkgrel=0 +pkgrel=1 pkgdesc="A useful diagnositic, instructional, and debugging tool" url="http://sourceforge.net/projects/strace/" license="BSD" -depends="uclibc" +depends= +makedepends= source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2" subpackages="$pkgname-doc" build () { cd "$srcdir/$pkgname-$pkgver" + #changes in kernel headers in 2.6.32 + sed -i -e 's/include <linux\/socket.h>/include <sys\/socket.h>/g' \ + configure ./configure --prefix=/usr \ make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" make -j1 DESTDIR="$pkgdir" install } md5sums="2415e435d61e40315a298c80aced0cda strace-4.5.19.tar.bz2" |