From 8781bf670e093067f4bffd33cb7e3b3660c28006 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Fri, 10 Oct 2008 20:46:14 +0000 Subject: [PATCH] First pass at making a python 3.0 patch to build on haiku. It's not yet building but this patch gets far into make before it's first error. --- dev-lang/python/python-3.0rc1-haiku.diff | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dev-lang/python/python-3.0rc1-haiku.diff diff --git a/dev-lang/python/python-3.0rc1-haiku.diff b/dev-lang/python/python-3.0rc1-haiku.diff new file mode 100644 index 000000000..fe35dd760 --- /dev/null +++ b/dev-lang/python/python-3.0rc1-haiku.diff @@ -0,0 +1,20 @@ +diff -urN Python-3.0rc1/configure.in Python-3.0rc1-haiku/configure.in +--- Python-3.0rc1/configure.in 2008-09-07 19:23:19.000000000 +0000 ++++ Python-3.0rc1-haiku/configure.in 2008-10-10 12:23:15.000000000 +0000 +@@ -230,6 +230,7 @@ + case $MACHDEP in + cygwin*) MACHDEP="cygwin";; + darwin*) MACHDEP="darwin";; ++ haiku*) MACHDEP="haiku";; + atheos*) MACHDEP="atheos";; + irix646) MACHDEP="irix6";; + '') MACHDEP="unknown";; +@@ -3009,7 +3010,7 @@ + # check for --with-libm=... + AC_SUBST(LIBM) + case $ac_sys_system in +-Darwin) ;; ++Darwin|Haiku*) ;; + *) LIBM=-lm + esac + AC_MSG_CHECKING(for --with-libm=STRING)