aboutsummaryrefslogtreecommitdiffstats
path: root/main/ltrace
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-16 07:06:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-16 07:35:57 +0000
commitdcb0bd1dd20cac445b8988837d6f792a91a3c33b (patch)
tree22922076151cdb9b69e6038725ec213cf683e1ba /main/ltrace
parent8b7740e072e87989ca7f0408925a21b8337c3c2a (diff)
downloadaports-dcb0bd1dd20cac445b8988837d6f792a91a3c33b.tar.bz2
aports-dcb0bd1dd20cac445b8988837d6f792a91a3c33b.tar.xz
main/ltrace: add detection of linux-uclibc
Diffstat (limited to 'main/ltrace')
-rw-r--r--main/ltrace/APKBUILD15
-rw-r--r--main/ltrace/host-os-uclibc.patch11
2 files changed, 22 insertions, 4 deletions
diff --git a/main/ltrace/APKBUILD b/main/ltrace/APKBUILD
index 91785f275d..1f459db200 100644
--- a/main/ltrace/APKBUILD
+++ b/main/ltrace/APKBUILD
@@ -1,16 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ltrace
pkgver=0.7.2
-pkgrel=0
+pkgrel=1
pkgdesc="Tracks runtime library calls in dynamically linked programs"
url="http://ltrace.alioth.debian.org/"
arch="all"
license="GPL"
depends=
options="!configsub"
-makedepends="libelf-dev"
+makedepends="libelf-dev autoconf automake"
subpackages="$pkgname-doc"
-source="http://dev.alpinelinux.org/archive/ltrace/ltrace-$pkgver.tar.bz2"
+source="http://dev.alpinelinux.org/archive/ltrace/ltrace-$pkgver.tar.bz2
+ host-os-uclibc.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -20,6 +21,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ aclocal && autoconf && automake --add-missing --force || return 1
}
build() {
@@ -38,4 +40,9 @@ package() {
cd "$_builddir"
make install INSTALL=install DESTDIR="$pkgdir" || return 1
}
-md5sums="f5d9282b471cdf9fbafd916ec5be0717 ltrace-0.7.2.tar.bz2"
+md5sums="f5d9282b471cdf9fbafd916ec5be0717 ltrace-0.7.2.tar.bz2
+3bff111d422b6e181240fb15ade9fb94 host-os-uclibc.patch"
+sha256sums="bd9e7bd94ba6728fd3ec57f4bcfef8240260bea8f4fcebbc9c454d07ccc11894 ltrace-0.7.2.tar.bz2
+73872075162b7992660d61995b6d1fcff040d866b3a9132470ca5736a79054f2 host-os-uclibc.patch"
+sha512sums="ec86f08d0c18579ff05f8be23ef3c7309c76c647a0d952fbc627e8095b6ce52b2552e152dc0ec9c6098039c2d50d549a1d218f56a13f75f28bc7b03eb39e94e0 ltrace-0.7.2.tar.bz2
+4094bcd955d8a3391ce41adba5c510f42f84d678d1326e05cb3949061689c61abe0d538b0377c1ae8883f69287965d5616129fc8037a89737d2f25e719382510 host-os-uclibc.patch"
diff --git a/main/ltrace/host-os-uclibc.patch b/main/ltrace/host-os-uclibc.patch
new file mode 100644
index 0000000000..47c19d9032
--- /dev/null
+++ b/main/ltrace/host-os-uclibc.patch
@@ -0,0 +1,11 @@
+--- ./configure.ac.orig 2013-08-16 07:04:27.384509376 +0000
++++ ./configure.ac 2013-08-16 07:04:44.284842572 +0000
+@@ -32,7 +32,7 @@
+ AC_CANONICAL_HOST
+
+ case "${host_os}" in
+- linux-gnu*) HOST_OS="linux-gnu" ;;
++ linux-gnu*|linux-uclibc) HOST_OS="linux-gnu" ;;
+ *) AC_MSG_ERROR([unkown host-os ${host_os}]) ;;
+ esac
+ AC_SUBST(HOST_OS)