diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-06-01 11:57:57 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-06-01 11:57:57 +0200 |
commit | edbe246fe93f11adcd98408e3d7cf7dce36de3a1 (patch) | |
tree | 82affbac07475dd770eeeef23441e081ffb0012a /libre | |
parent | 3859b8bf65ecc310a6a2ea14496be3c3a913333b (diff) |
Fix claws-mail-libre build on mips64el.
valgrind is not available.
setarch $CARCH won't work. The only purpose that I know for it should
be handled differently, in makepkg frontends, not PKGBUILDs.
Diffstat (limited to 'libre')
-rw-r--r-- | libre/claws-mail-libre/PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libre/claws-mail-libre/PKGBUILD b/libre/claws-mail-libre/PKGBUILD index e37ffe283..2a0ce65ce 100644 --- a/libre/claws-mail-libre/PKGBUILD +++ b/libre/claws-mail-libre/PKGBUILD @@ -13,10 +13,11 @@ license=('GPL3') url="http://www.$_pkgname.org" depends=('gtk2' 'gnutls' 'startup-notification' 'enchant' 'gpgme' 'libetpan>=1.1' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils') -makedepends=('compface' 'spamassassin' 'bogofilter' 'valgrind' +makedepends=('compface' 'spamassassin' 'bogofilter' # dependencies for plugins 'libsoup' 'libgdata' 'webkitgtk2' 'libnotify' 'libcanberra' 'poppler-glib' 'pygtk') #'libchamplain' needed for geolocation plugin, disabled for now - most time it's not compatible with current gnome releases +[ "$CARCH" != "mips64el" ] && makedepends+=('valgrind') optdepends=('python2: needed for some tools and python plugin' 'perl: needed for some tools and perl plugin' 'spamassassin: adds support for spamfiltering' @@ -50,7 +51,7 @@ build() { sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py sed -i 's:python -c:python2 -c:g' configure - setarch $CARCH ./configure --prefix=/usr --disable-static \ + ./configure --prefix=/usr --disable-static \ --enable-enchant \ --enable-gnutls \ --enable-ldap \ @@ -60,16 +61,16 @@ build() { --enable-bogofilter-plugin \ --enable-jpilot \ #--help - setarch $CARCH make + make } package() { cd $srcdir/$_pkgname-$pkgver - setarch $CARCH make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir install # build and install extra tools cd tools - setarch $CARCH make + make # all executables and .conf files ; only top directory find -maxdepth 1 -type f -and -perm /111 -or -name '*.conf' | while read i ; do install -D -m755 $i $pkgdir/usr/lib/$_pkgname/tools/$i |