aboutsummaryrefslogtreecommitdiffstats
path: root/main/talloc
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-16 22:46:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-16 22:46:57 +0000
commit1b2be1568c004998f42275e3c9de48713f8be48c (patch)
tree70ceba3cce0a648d83a02335f1eb97a7a3e02d10 /main/talloc
parent6ae49791ea0424ba6847bee3bb3de5ae8302f67e (diff)
downloadaports-1b2be1568c004998f42275e3c9de48713f8be48c.tar.bz2
aports-1b2be1568c004998f42275e3c9de48713f8be48c.tar.xz
main/talloc: force always enable libs
something is wrong with the shared library test. We force it to always belive shared libs works and force it to build. This is just a workaround for now. The proper solution is to find out exactly why the test fails and fix uclibc.
Diffstat (limited to 'main/talloc')
-rw-r--r--main/talloc/APKBUILD8
-rw-r--r--main/talloc/always-libs.patch10
2 files changed, 15 insertions, 3 deletions
diff --git a/main/talloc/APKBUILD b/main/talloc/APKBUILD
index efc4863672..1dacfa6625 100644
--- a/main/talloc/APKBUILD
+++ b/main/talloc/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=talloc
pkgver=2.0.5
-pkgrel=1
+pkgrel=2
pkgdesc="memory pool management library"
url="http://talloc.samba.org/"
arch="all"
@@ -13,7 +13,8 @@ replaces="samba-common"
makedepends="$depends_dev python"
install=""
subpackages="$pkgname-dev"
-source="http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+source="http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ always-libs.patch"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
@@ -39,4 +40,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="6e3fdfbc43dde8ccba27b6af894b8fb2 talloc-2.0.5.tar.gz"
+md5sums="6e3fdfbc43dde8ccba27b6af894b8fb2 talloc-2.0.5.tar.gz
+10304afbc3b00346238bf5a969227c68 always-libs.patch"
diff --git a/main/talloc/always-libs.patch b/main/talloc/always-libs.patch
new file mode 100644
index 0000000000..e9658d4b98
--- /dev/null
+++ b/main/talloc/always-libs.patch
@@ -0,0 +1,10 @@
+--- ./buildtools/wafsamba/samba_conftests.py.orig
++++ ./buildtools/wafsamba/samba_conftests.py
+@@ -186,6 +186,7 @@
+ msg = "rpath library support"
+ else:
+ msg = "building library support"
++ return True
+
+ dir = find_config_dir(conf)
+