imageop.so & rbgimg.so 32BIT_ONLY, not X86_ONLY?
John Hein
jhein at timing.com
Fri Dec 19 10:07:29 PST 2008
I just built python on arm and it installed lib-dynload/imageop.so &
lib-dynload/rbgimg.so.
However, they are marked X86_ONLY in pkg-plist (in all python2x ports).
They were installed since the test in setup.py is ...
./setup.py- # Disabled on 64-bit platforms
./setup.py- if sys.maxint != 9223372036854775807L:
./setup.py- # Operations on images
./setup.py: exts.append( Extension('imageop', ['imageop.c']) )
./setup.py- # Read SGI RGB image files (but coded portably)
./setup.py- exts.append( Extension('rgbimg', ['rgbimgmodule.c']) )
./setup.py-
But arm (well, at least this arm) is 32 bit.
It seems python2*/pkg-plist should be changed like so...
Index: pkg-plist
===================================================================
RCS file: /base/FreeBSD-CVS/ports/lang/python24/pkg-plist,v
retrieving revision 1.65
diff -u -p -r1.65 pkg-plist
--- pkg-plist 16 Mar 2008 10:25:08 -0000 1.65
+++ pkg-plist 19 Dec 2008 17:34:51 -0000
@@ -568,7 +568,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/md5.so
@@ -581,7 +581,7 @@ lib/lib%%PYTHON_VERSION%%.so.1
%%PYTHON_LIBDIR%%/lib-dynload/readline.so
%%PYTHON_LIBDIR%%/lib-dynload/regex.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/sha.so
%%PYTHON_LIBDIR%%/lib-dynload/strop.so
More information about the freebsd-python
mailing list