[WIP] user/notmuch: Bump to 0.29.1

parent 0d4fa57e
From ed15cac16414418c11896071d6ca9238d033f23d Mon Sep 17 00:00:00 2001
From: Luis Ressel <aranea@aixah.de>
Date: Mon, 25 Feb 2019 08:18:24 +0100
Subject: [PATCH] Add a configure flag to disable rpaths
---
configure | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index a6f5dfa2..5e7e5aa9 100755
--- a/configure
+++ b/configure
@@ -82,6 +82,7 @@ WITH_API_DOCS=1
WITH_EMACS=1
WITH_DESKTOP=1
WITH_BASH=1
+WITH_RPATH=1
WITH_RUBY=1
WITH_ZSH=1
WITH_RETRY_LOCK=1
@@ -241,6 +242,14 @@ for option; do
fi
elif [ "${option}" = '--without-bash-completion' ] ; then
WITH_BASH=0
+ elif [ "${option%%=*}" = '--with-rpath' ]; then
+ if [ "${option#*=}" = 'no' ]; then
+ WITH_RPATH=0
+ else
+ WITH_RPATH=1
+ fi
+ elif [ "${option}" = '--without-rpath' ] ; then
+ WITH_RPATH=0
elif [ "${option%%=*}" = '--with-ruby' ]; then
if [ "${option#*=}" = 'no' ]; then
WITH_RUBY=0
@@ -928,7 +937,7 @@ fi
rm -f compat/check_asctime
printf "Checking for rpath support... "
-if ${CC} -Wl,--enable-new-dtags -Wl,-rpath,/tmp/ -o minimal minimal.c >/dev/null 2>&1
+if [ $WITH_RPATH = "1" ] && ${CC} -Wl,--enable-new-dtags -Wl,-rpath,/tmp/ -o minimal minimal.c >/dev/null 2>&1
then
printf "Yes.\n"
rpath_ldflags="-Wl,--enable-new-dtags -Wl,-rpath,\$(libdir)"
--
2.19.2
# Contributor: Luis Ressel <aranea@aixah.de>
# Maintainer: Luis Ressel <aranea@aixah.de>
pkgname=notmuch
pkgver=0.28.4
pkgver=0.29.1
pkgrel=0
pkgdesc="Thread-based email index, search and tagging"
url="https://notmuchmail.org/"
......@@ -12,8 +12,7 @@ depends_dev="gmime-dev talloc-dev xapian-core-dev zlib-dev"
makedepends="$depends_dev doxygen emacs python3-dev ruby-dev"
checkdepends="bash dtach gnupg"
subpackages="$pkgname-dev $pkgname-doc $pkgname-emacs py3-$pkgname:_py ruby-$pkgname:_rb $pkgname-bash-completion:bashcomp:noarch $pkgname-zsh-completion:zshcomp:noarch"
source="https://notmuchmail.org/releases/notmuch-$pkgver.tar.gz
0.28.2-disable-rpath.patch"
source="https://notmuchmail.org/releases/notmuch-$pkgver.tar.xz"
build() {
cd "$builddir"
......@@ -35,9 +34,8 @@ build() {
check() {
cd "$builddir"
# config, regexp-query: musl issues, TODO: Fixed in master
# count, insert: gdb-based tests which fail at some optimization levels, or w/o -g.
NOTMUCH_SKIP_TESTS="config regexp-query count insert" make check
NOTMUCH_SKIP_TESTS="count insert" make check
}
package() {
......@@ -92,5 +90,4 @@ zshcomp() {
mv "$pkgdir/usr/share/zsh" "$subpkgdir/usr/share"
}
sha512sums="77d7ad81e1f7dc93ae6392346da434f6dc74c21d19be728c2a6ca283c429f36e7081387d223af58eb5f63f5d2a8ad8367f0103f0bb9d052890c07fe419abbee7 notmuch-0.28.4.tar.gz
b2991ee5edf927f04d904d99888dbce17a98e9d4d7d809bc2248f45d214025f4a1632b19e4fbca2b08e99721ec8a7eea82384c5c718206884801c7bfa5a8c540 0.28.2-disable-rpath.patch"
sha512sums="9b76a7c8c62cb67b64a0008f80a82eeecccd20267ddba67d4d96a768815466c305f154769947bb9526e02c7a1696faaf69e94b90007603b185589be0c7c2a5d8 notmuch-0.29.1.tar.xz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment