aboutsummaryrefslogtreecommitdiffstats
path: root/main/ksymoops/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-25 18:55:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-25 18:55:14 +0000
commitc70ad2c0ba31c0d83616393bda976ff92b0782d2 (patch)
treeec1d846aebc76a03fa86c110657001f2b76e2fe1 /main/ksymoops/APKBUILD
parentc1f79a98d7d882957b9bd4a0a6ce5f9e2f497cc0 (diff)
downloadaports-c70ad2c0ba31c0d83616393bda976ff92b0782d2.tar.bz2
aports-c70ad2c0ba31c0d83616393bda976ff92b0782d2.tar.xz
main/ksymoops: fix building with new binutils
For details see: http://sourceware.org/bugzilla/show_bug.cgi?id=14243
Diffstat (limited to 'main/ksymoops/APKBUILD')
-rw-r--r--main/ksymoops/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD
index ad88e3b508..448b6dc7ac 100644
--- a/main/ksymoops/APKBUILD
+++ b/main/ksymoops/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ksymoops
pkgver=2.4.11
-pkgrel=3
+pkgrel=4
pkgdesc="A Linux kernel Oops file troubleshooting tool"
url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4"
arch="all"
@@ -21,7 +21,9 @@ prepare() {
build() {
cd "$_builddir"
- make || return 1
+ # see http://sourceware.org/bugzilla/show_bug.cgi?id=14243
+ # we abuse DEBUG variable which is added to CFLAGS
+ make DEBUG="$CFLAGS -DPACKAGE -DPACKAGE_VERSION" || return 1
}
package() {