mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-11 06:10:06 +02:00
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.
This commit is contained in:
20
dev-lang/python/python-3.0rc1-haiku.diff
Normal file
20
dev-lang/python/python-3.0rc1-haiku.diff
Normal file
@@ -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)
|
||||
Reference in New Issue
Block a user