From 1b2be1568c004998f42275e3c9de48713f8be48c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sat, 16 Apr 2011 22:46:57 +0000 Subject: 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. --- main/talloc/APKBUILD | 8 +++++--- main/talloc/always-libs.patch | 10 ++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 main/talloc/always-libs.patch diff --git a/main/talloc/APKBUILD b/main/talloc/APKBUILD index efc486367..1dacfa662 100644 --- a/main/talloc/APKBUILD +++ b/main/talloc/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: William Pitcock 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 000000000..e9658d4b9 --- /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) + -- cgit v1.2.3