From: Lars-Peter Clausen Date: Fri, 19 Feb 2010 04:19:45 +0000 (+0000) Subject: gta1: Properly fix paths in gtk-config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fd8a1532d86e56b142ef7ec97a534a72638e6ac4;p=openwrt%2Fsvn-archive%2Fpackages.git gta1: Properly fix paths in gtk-config SVN-Revision: 19730 --- diff --git a/Xorg/lib/gtk1/Makefile b/Xorg/lib/gtk1/Makefile index 9594248f7..6feac6ed8 100644 --- a/Xorg/lib/gtk1/Makefile +++ b/Xorg/lib/gtk1/Makefile @@ -46,6 +46,9 @@ define Build/InstallDev $(INSTALL_DIR) $(2)/bin mv $(1)/usr/bin/gtk-config $(2)/bin/ $(SED) "s,libdirs=-L.*,libdirs=,g" $(2)/bin/gtk-config + $(SED) \ + 's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",g' \ + $(2)/bin/gtk-config endef $(eval $(call BuildPackage,gtk1))