ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/python.spec
(Generate patch)

Comparing COMP/CMSDIST/python.spec (file contents):
Revision 1.79 by fwyzard, Wed Jan 25 15:59:16 2012 UTC vs.
Revision 1.80 by fwyzard, Fri Jan 27 02:34:54 2012 UTC

# Line 62 | Line 62 | dirs="$EXPAT_ROOT $BZ2LIB_ROOT $NCURSES_
62   # location of DB4, this was needed to avoid having it picked up from the system.
63   export DB4_ROOT
64  
65 + # Python's configure parses LDFLAGS and CPPFLAGS to look for aditional library and include directories
66   echo $dirs
67 + LDFLAGS=""
68 + CPPFLAGS=""
69   for d in $dirs; do
70 <  for f in $d/include/*; do
71 <    [ -e $f ] || continue
69 <    rm -f %i/include/$(basename $f)
70 <    ln -s $f %i/include
71 <  done
72 <  for f in $d/lib/*; do
73 <    [ -e $f ] || continue
74 <    rm -f %i/lib/$(basename $f)
75 <    ln -s $f %i/lib
76 <  done
70 >  LDFLAGS="$LDFLAGS -L $d/lib"
71 >  CPPFLAGS="$CPPFLAGS -I $d/include"
72   done
73 + export LDFLAGS
74 + export CPPFLAGS
75  
76   additionalConfigureOptions=""
77   case %cmsplatf in

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines