[Lunar-commits] <moonbase> pil: better fix for python 2.6

Zachary McGrew zmcgrew at lunar-linux.org
Wed Nov 19 02:16:32 CET 2008


commit 046cc7897001378633949a3bb4dcbb48396bfd85
Author: Zachary McGrew <zmcgrew at lunar-linux.org>
Date:   Tue Nov 18 17:16:32 2008 -0800

    pil: better fix for python 2.6
    
    I should have taken ElAngelo's advice and looked into my own tree to see I already fixed this a better way
---
 graphics/pil/BUILD |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/graphics/pil/BUILD b/graphics/pil/BUILD
index 0fa221e..bfe1736 100644
--- a/graphics/pil/BUILD
+++ b/graphics/pil/BUILD
@@ -5,7 +5,7 @@
   python setup.py build_ext -i      &&
   prepare_install                   &&
   cd libImaging                     &&
-  cp ImPlatform.h Imaging.h /usr/include/python2.6  &&
+  cp ImPlatform.h Imaging.h /usr/include/python`installed_version Python`  &&
   cd ..                             &&
   python setup.py install           &&
   mkdir -p $DOCUMENT_DIRECTORY/pil  &&


More information about the Lunar-commits mailing list