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 384)
+++ Makefile	(revision 385)
@@ -171,19 +171,24 @@
 	     > $(DBUS_32_PKG)/usr/include/dbus-1.0/dbus/dbus-arch-deps-32.h
 	# ======= remove toolchain path from target libtool *.la files =======
 	@( cd $(DBUS_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
-	   sed -i "s,$(TARGET_DEST_DIR),,g" libdbus-1.la  \
+	   sed -i "s,$(TARGET_DEST_DIR),,g" libdbus-1.la ; \
 	 )
+	# ======= remove toolchain path from target pkg-config *.pc files =======
+	@( cd $(DBUS_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/pkgconfig ; \
+	   sed -i "s,$(TARGET_DEST_DIR),,g" dbus-1.pc ; \
+	 )
 	# ======= Install the same to $(TARGET_DEST_DIR) =======
 	$(call install-into-devenv, $(DBUS_32_PKG))
 	# ======= tune libtool *.la search path to the target destination for development =======
 	@( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
-	   sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libdbus-1.la ; \
-	   sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libdbus-1.la \
+	   sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g"   libdbus-1.la ; \
+	   sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libdbus-1.la ; \
 	 )
 	# ======= tune pkg-config *.pc search path to the target destination for development =======
 	@( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/pkgconfig ; \
 	   sed -i "s,prefix=/usr,prefix=$(TARGET_DEST_DIR)/usr,g" dbus-1.pc ; \
 	   sed -i "s,libdir=/usr,libdir=$(TARGET_DEST_DIR)/usr,g" dbus-1.pc ; \
+	   sed -i "s,^\(datarootdir\).*,\1=/usr/share,"           dbus-1.pc ; \
 	 )
 	# ======= Strip binaries =======
 	@( cd $(DBUS_32_PKG) ; \