Index: Makefile
===================================================================
--- Makefile (revision 357)
+++ Makefile (revision 358)
@@ -316,8 +316,9 @@
$(call install-into-devenv, $(POLKIT_PKG))
# ======= tune pkg-config *.pc search path to the target destination for development =======
@( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" polkit-agent-1.pc ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" polkit-gobject-1.pc ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" polkit-agent-1.pc ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" polkit-gobject-1.pc ; \
+ sed -i "s,^\(datadir\).*,\1=/usr/share,g" polkit-gobject-1.pc ; \
)
# ======= Strip binaries =======
@( cd $(POLKIT_PKG) ; \