Index: Makefile
===================================================================
--- Makefile (revision 447)
+++ Makefile (revision 448)
@@ -13,11 +13,16 @@
SOURCE_REQUIRES = sources/packages/d/python2
REQUIRES = dev/python2/2.7.18
+REQUIRES += libs/libxcrypt/4.4.38-x86_32
REQUIRES += libs/zlib/1.3.1-x86_32
REQUIRES += app/xz/5.6.3-x86_32
+REQUIRES += app/bzip2/1.0.8-x86_32
+REQUIRES += app/sqlite/3.49.1.0-x86_32
REQUIRES += libs/libffi/3.4.7-x86_32
REQUIRES += libs/readline/8.2-x86_32
REQUIRES += libs/expat/2.6.4-x86_32
+REQUIRES += libs/gdbm/1.24-x86_32
+REQUIRES += net/libnsl/2.0.1-x86_32
REQUIRES += net/openssl/3.4.1-x86_32
# ======= __END_OF_REQUIRES__ =======
@@ -85,6 +90,7 @@
LDFLAGS += -L.
extra_configure_switches = --libdir=/usr/lib$(MULTILIB_X86_32_SUFFIX)
+extra_configure_switches += --with-platlibdir=lib$(MULTILIB_X8632_SUFFIX)
extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
extra_configure_switches += --mandir=/usr/share/man
@@ -92,6 +98,7 @@
extra_configure_switches += --with-system-expat
extra_configure_switches += --with-system-ffi
+extra_configure_switches += --with-dbmliborder=gdbm:ndbm
extra_configure_switches += --with-threads
extra_configure_switches += --enable-ipv6
extra_configure_switches += --enable-shared
@@ -101,14 +108,16 @@
python_environment = RFS=$(TARGET_DEST_DIR)
python_environment += HOSTARCH=$(TARGET32)
python_environment += BUILDARCH=$(BUILD)
-python_environment += PYTHONHOME=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7
-python_environment += LDFLAGS=-Wl,-rpath,/lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX)
python_environment += PYTHON2=$(PYTHON2)
python_environment += PGEN2=$(PGEN2)
BUILD_ALIAS = $(shell echo $(BUILD) | sed 's,-gnu$$,,')
+CFLAGS += -Wno-misleading-indentation -Wno-deprecated-declarations -Wno-discarded-qualifiers
+LDFLAGS += -L. -Wl,-rpath,/lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX)
+
+
####### Dependencies
$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
@@ -147,7 +156,7 @@
)
@mkdir -p $(PYTHON32_PKG)/usr/bin/32
@( cd $(PYTHON32_PKG)/usr/bin/32 ; \
- mv 2to3 2to3-2.7 ; ln -sf 2to3-2.7 2to3 ; \
+ mv 2to3 2to3-2.7 ; \
mv idle idle2.7 ; ln -sf idle2.7 idle2 ; ln -sf idle2 idle ;\
mv pydoc pydoc2.7 ; ln -sf pydoc2.7 pydoc2 ; ln -sf pydoc2 pydoc ;\
ln -sf ../../lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages/pynche/pynche pynche2 ; \