opengl-py25 builds with minimal patching on 64-bit fink (Mac OS 10.5.x)
Stefan Bruda <[email protected]> Sat, 26 Sep 2009 14:44:07 -0400
| Newsgroups | gmane.os.apple.fink.gnome |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I doscovered that opengl-py25 does not build on my 64-bit fink
installation (Mac OS 10.5.*) simply because /sw64/bin/tclsh8.4 does
not exist (not sure why). Going however to /sw64/bin/tclsh8.5 causes
the thing to build fine. I am not sure if it actually works mind you
(I have yet to install some other things to test). Here is the patch
in case it is useful.
Cheers,
Stefan
--- opengl-py.old 2009-09-26 14:27:30.000000000 -0400
+++ opengl-py.info 2009-09-26 14:29:11.000000000 -0400
@@ -48,7 +48,7 @@
PatchFile-MD5: 0693832a4d1f639468c5d3548cd92dd2
PatchScript: <<
#!/bin/bash -ev
- tclver=`echo 'puts $tcl_version' | %p/bin/`
+ tclver=`echo 'puts $tcl_version' | %p/bin/tclsh8.5`
sed -e "s|@@FINKPREFIX@@|%p|g" <%{PatchFile} | \
sed -e "s|@@TCL_VER@@|$tclver|g" | patch -p1
perl -pi -e 's|arrayobject.h|ufuncobject.h|g' setup/dist.py
@@ -63,7 +63,7 @@
%p/bin/python%type_raw[python] setup.py build
if [ "%type_raw[-nox]" == "." ]; then
- tclver=`echo 'puts $tcl_version' | %p/bin/tclsh8.4`
+ tclver=`echo 'puts $tcl_version' | %p/bin/tclsh8.5`
( cd src/Togl-1.6 && make ) || exit 1
cp src/Togl-1.6/togl.so build/Togl-1.6-tk${tclver}/
fi
--
If it was so, it might be; and if it were so, it would be; but as
it isn't, it ain't. That's logic.
--Lewis Carroll, Through the Looking-Glass
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf