- minor tweaks for mips64, none of the versions fully build, but at least

they're somewhat getting there.
- with the added patch, 2.5 gets as far as 2.6, and then fails terribly.

ok djm@ (MAINTAINER)
This commit is contained in:
jasper 2009-11-22 22:53:19 +00:00
parent 25dd2ab323
commit a7f58dc602
5 changed files with 23 additions and 7 deletions

View File

@ -1,11 +1,12 @@
# $OpenBSD: Makefile,v 1.22 2009/08/10 17:31:07 kili Exp $
# $OpenBSD: Makefile,v 1.23 2009/11/22 22:53:19 jasper Exp $
VERSION= 2.4
PATCHLEVEL= .6
PKG_PATCHLEVEL= p1
SHARED_LIBS= python2.4 1.0
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64"
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "mips64"
PATCH_LIST= patch-* sup64-*
.endif

View File

@ -1,11 +1,12 @@
# $OpenBSD: Makefile,v 1.31 2009/08/10 17:31:07 kili Exp $
# $OpenBSD: Makefile,v 1.32 2009/11/22 22:53:19 jasper Exp $
VERSION= 2.5
PATCHLEVEL= .4
PKG_PATCHLEVEL= p2
SHARED_LIBS= python2.5 1.0
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64"
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "mips64"
PATCH_LIST= patch-* sup64-*
.endif

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Modules__ctypes_libffi_configure,v 1.1 2009/11/22 22:53:19 jasper Exp $
--- Modules/_ctypes/libffi/configure.orig Sun Nov 22 17:36:15 2009
+++ Modules/_ctypes/libffi/configure Sun Nov 22 17:36:44 2009
@@ -3471,7 +3471,7 @@ fi
TARGETDIR="unknown"
case "$host" in
x86_64-*-openbsd*) TARGET=X86_64; TARGETDIR=x86;;
-mips*-*-openbsd*) TARGET=MIPS; TARGETDIR=mips;;
+mips*-*-openbsd*) TARGET=MIPS_LINUX; TARGETDIR=mips;;
sparc-*-openbsd*) TARGET=SPARC; TARGETDIR=sparc;;
sparc64-*-openbsd*) TARGET=SPARC; TARGETDIR=sparc;;
alpha*-*-openbsd*) TARGET=ALPHA; TARGETDIR=alpha;;

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2009/10/27 23:35:09 sthen Exp $
# $OpenBSD: Makefile,v 1.10 2009/11/22 22:53:19 jasper Exp $
VERSION= 2.6
PATCHLEVEL= .3
@ -7,7 +7,8 @@ SHARED_LIBS= python2.6 1.0
# PSUBDIR= python/${VERSION}
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64"
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "mips64"
PATCH_LIST= patch-* sup64-*
.endif

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.61 2009/09/22 21:31:00 ajacoutot Exp $
# $OpenBSD: Makefile.inc,v 1.62 2009/11/22 22:53:19 jasper Exp $
# IMPORTANT! If you make any changes to the Python ports, be sure
# to also update files/CHANGES.OpenBSD for your change. This is a
@ -83,6 +83,7 @@ PKG_ARGS+= -Dmm=1
. if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" || \
${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "m68k" || \
${MACHINE_ARCH} == "mips64" || \
( ${MACHINE_ARCH} == "powerpc" && ${VERSION} != "2.6" )
PKG_ARGS+= -Dctypes=1
. else