[arch-commits] CVS update of extra/gnome/evolution-exchange (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sat Oct 13 12:18:17 UTC 2007


    Date: Saturday, October 13, 2007 @ 08:18:17
  Author: andyrtr
    Path: /home/cvs-extra/extra/gnome/evolution-exchange

Modified: PKGBUILD (1.22 -> 1.23)

upgpkg: evolution-exchange 2.12.0-2
rebuild for heimdal update; fixed db4.1 usage


----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)


Index: extra/gnome/evolution-exchange/PKGBUILD
diff -u extra/gnome/evolution-exchange/PKGBUILD:1.22 extra/gnome/evolution-exchange/PKGBUILD:1.23
--- extra/gnome/evolution-exchange/PKGBUILD:1.22	Sat Sep 22 09:46:52 2007
+++ extra/gnome/evolution-exchange/PKGBUILD	Sat Oct 13 08:18:17 2007
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.22 2007/09/22 13:46:52 jgc Exp $
+# $Id: PKGBUILD,v 1.23 2007/10/13 12:18:17 andyrtr Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=evolution-exchange
 pkgver=2.12.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Ximian Connector Exchange plugin for Evolution"
 arch=(i686 x86_64)
 license=('GPL')
@@ -19,8 +19,12 @@
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
+  # Look for correct DB, we want 4.1
+  sed -e 's|DB_CFLAGS="-I$withval/include"|DB_CFLAGS="-I$withval/include/db4.1"|' \
+      -e 's|DB_LIBS="-L$withval/lib -ldb"|DB_LIBS="-L$withval/lib -ldb-4.1"|' \
+      -i configure
   ./configure --prefix=/usr --sysconfdir=/etc \
-             --libexecdir=/var --disable-static
+             --libexecdir=/var --disable-static --with-libdb=/usr 
   make || return 1
   make DESTDIR=${startdir}/pkg install
 




More information about the arch-commits mailing list