Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: Makefile
===================================================================
--- Makefile	(revision 447)
+++ Makefile	(revision 448)
@@ -16,11 +16,16 @@
 SOURCE_REQUIRES    = sources/packages/d/python2
 
 REQUIRES           = dev/python2/2.7.18
+REQUIRES          += libs/libxcrypt/4.4.38-ppc32
 REQUIRES          += libs/zlib/1.3.1-ppc32
 REQUIRES          += app/xz/5.6.3-ppc32
+REQUIRES          += app/bzip2/1.0.8-ppc32
+REQUIRES          += app/sqlite/3.49.1.0-ppc32
 REQUIRES          += libs/libffi/3.4.7-ppc32
 REQUIRES          += libs/readline/8.2-ppc32
 REQUIRES          += libs/expat/2.6.4-ppc32
+REQUIRES          += libs/gdbm/1.24-ppc32
+REQUIRES          += net/libnsl/2.0.1-ppc32
 REQUIRES          += net/openssl/3.4.1-ppc32
 
 # ======= __END_OF_REQUIRES__ =======
@@ -84,9 +89,9 @@
 
 env_sysroot = DESTDIR=$(PYTHON32_PKG)
 
-LDFLAGS    += -L.
 
 extra_configure_switches  = --libdir=/usr/lib$(MULTILIB_PPC32_SUFFIX)
+extra_configure_switches += --with-platlibdir=lib$(MULTILIB_PPC32_SUFFIX)
 extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
 extra_configure_switches += --mandir=/usr/share/man
 
@@ -94,6 +99,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
@@ -103,14 +109,16 @@
 python_environment  = RFS=$(TARGET_DEST_DIR)
 python_environment += HOSTARCH=$(TARGET32)
 python_environment += BUILDARCH=$(BUILD)
-python_environment += PYTHONHOME=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7
-python_environment += LDFLAGS=-Wl,-rpath,/lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_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)
@@ -149,7 +157,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_PPC32_SUFFIX)/python2.7/site-packages/pynche/pynche pynche2 ; \