[Lunar-commits] <moonbase> pil: adjust BUILD. Python include dir is by major version.

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Sat Jan 10 17:25:51 CET 2009


commit 53d446c98cac38e20c3fd824143b80502691431b
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Sat Jan 10 11:25:51 2009 -0500

    pil: adjust BUILD. Python include dir is by major version.
---
 python/pil/BUILD |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/pil/BUILD b/python/pil/BUILD
index bfe1736..941c9ee 100644
--- a/python/pil/BUILD
+++ b/python/pil/BUILD
@@ -5,7 +5,7 @@
   python setup.py build_ext -i      &&
   prepare_install                   &&
   cd libImaging                     &&
-  cp ImPlatform.h Imaging.h /usr/include/python`installed_version Python`  &&
+  cp ImPlatform.h Imaging.h /usr/include/python`installed_version Python | cut -d. -f1-2`  &&
   cd ..                             &&
   python setup.py install           &&
   mkdir -p $DOCUMENT_DIRECTORY/pil  &&


More information about the Lunar-commits mailing list