[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Sun Nov 22 16:06:00 UTC 2009


    Date: Sunday, November 22, 2009 @ 11:06:00
  Author: andrea
Revision: 59338

upgpkg: mod_wsgi 3.0-1
    upstream release

Modified:
  mod_wsgi/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-22 15:59:48 UTC (rev 59337)
+++ PKGBUILD	2009-11-22 16:06:00 UTC (rev 59338)
@@ -1,9 +1,9 @@
-# $Id$
+# $Id:$
 # Maintainer: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Ryan Coyner <rcoyner at gmail.com>
 
 pkgname=mod_wsgi
-pkgver=2.6
+pkgver=3.0
 pkgrel=1
 pkgdesc="Python WSGI adapter module for Apache"
 arch=('i686' 'x86_64')
@@ -12,13 +12,16 @@
 depends=('apache' 'python')
 install=$pkgname.install
 source=(http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz)
-md5sums=('c313cd7a662024866ce3376cb5a76cf6')
+md5sums=('7e9c8cd79ebe9bc273dc520e9e87261b')
 
-build() { 
-    cd ${srcdir}/${pkgname}-${pkgver}
-    ./configure --prefix=/usr \
-      --with-apxs=/usr/sbin/apxs \
-      --with-python=/usr/bin/python || return 1
-    make || return 1
-    make DESTDIR=${pkgdir} install || return 1
+build() {
+  # http://code.google.com/p/modwsgi/issues/detail?id=166
+  unset CFLAGS
+
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --with-apxs=/usr/sbin/apxs \
+    --with-python=/usr/bin/python || return 1
+  make || return 1
+  make DESTDIR=${pkgdir} install || return 1
 }




More information about the arch-commits mailing list