From 567f8991a2ed30960bfdea9eed6bee9f8ba2de57 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 4 Oct 2009 16:00:14 -0700
Subject: pil:changes for libjpeg6 in /opt/libjpeg6.

---
 abs/core-testing/pil/PKGBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/abs/core-testing/pil/PKGBUILD b/abs/core-testing/pil/PKGBUILD
index f16214a..5ae42bb 100644
--- a/abs/core-testing/pil/PKGBUILD
+++ b/abs/core-testing/pil/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=pil
 pkgver=1.1.6
-pkgrel=9
+pkgrel=11
 pkgdesc="Python imaging library"
 arch=('i686' 'x86_64')
 url="http://www.pythonware.com/products/pil/index.htm"
@@ -16,8 +16,8 @@ md5sums=('3a9b5c20ca52f0a9900512d2c7347622')
 
 build() {
   cd $srcdir/Imaging-$pkgver
-  sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6\"#" setup.py
-  python setup.py build_ext 
+  sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6/lib\",\ \"/opt/libjpeg6/include\"#" setup.py
+  python setup.py build_ext -i
   python setup.py install --root=$pkgdir
   mkdir -p $pkgdir/usr/include/python2.6/
   cp libImaging/*.h $pkgdir/usr/include/python2.6/
-- 
cgit v0.12