From fd8a1532d86e56b142ef7ec97a534a72638e6ac4 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Fri, 19 Feb 2010 04:19:45 +0000 Subject: [PATCH] gta1: Properly fix paths in gtk-config SVN-Revision: 19730 --- Xorg/lib/gtk1/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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)) -- 2.30.2