Changes to make python ports work on powerpc (32-bit mode; 64-bit not

yet tested).

Tested on:	powerpc, i386
Hat:		portmgr
PR:		ports/153657 (partial)
Submitted by:	andreast
This commit is contained in:
Mark Linimon 2011-02-24 23:50:26 +00:00
parent ae15cc47c1
commit a24db69934
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269608
3 changed files with 2 additions and 12 deletions

View file

@ -90,11 +90,6 @@ CONFIGURE_ARGS+= --enable-unicode=ucs4
CONFIGURE_ARGS+= --without-pymalloc
.endif
.if ${ARCH} == i386
PLIST_SUB+= X86_ONLY=""
.else
PLIST_SUB+= X86_ONLY="@comment "
.endif
.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 || ${ARCH} == alpha
PLIST_SUB+= 32BIT_ONLY="@comment "
.else

View file

@ -674,7 +674,7 @@ lib/lib%%PYTHON_VERSION%%.so.1
%%32BIT_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/dl.so
%%PYTHON_LIBDIR%%/lib-dynload/fcntl.so
%%PYTHON_LIBDIR%%/lib-dynload/grp.so
%%X86_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/imageop.so
%%32BIT_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/imageop.so
%%PYTHON_LIBDIR%%/lib-dynload/itertools.so
%%PYTHON_LIBDIR%%/lib-dynload/math.so
%%PYTHON_LIBDIR%%/lib-dynload/mmap.so
@ -685,7 +685,7 @@ lib/lib%%PYTHON_VERSION%%.so.1
%%PYTHON_LIBDIR%%/lib-dynload/pyexpat.so
%%PYTHON_LIBDIR%%/lib-dynload/readline.so
%%PYTHON_LIBDIR%%/lib-dynload/resource.so
%%X86_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/rgbimg.so
%%32BIT_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/rgbimg.so
%%PYTHON_LIBDIR%%/lib-dynload/select.so
%%PYTHON_LIBDIR%%/lib-dynload/strop.so
%%PYTHON_LIBDIR%%/lib-dynload/syslog.so

View file

@ -115,11 +115,6 @@ CONFIGURE_ARGS+= --enable-unicode=ucs4
CONFIGURE_ARGS+= --without-pymalloc
.endif
.if ${ARCH} == i386
PLIST_SUB+= X86_ONLY=""
.else
PLIST_SUB+= X86_ONLY="@comment "
.endif
.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 || ${ARCH} == alpha
PLIST_SUB+= 32BIT_ONLY="@comment "
.else