From: Lars-Peter Clausen Date: Fri, 19 Feb 2010 01:02:07 +0000 (+0000) Subject: [packages] freetype: Properly fix freetype-config paths X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0133015bf55035642840fbde854f77033ca8e8ef;p=openwrt%2Fsvn-archive%2Farchive.git [packages] freetype: Properly fix freetype-config paths SVN-Revision: 19717 --- diff --git a/libs/freetype/Makefile b/libs/freetype/Makefile index f328819073..8a294ecc05 100644 --- a/libs/freetype/Makefile +++ b/libs/freetype/Makefile @@ -56,8 +56,10 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreetype.{a,so*} $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/freetype2.pc $(1)/usr/lib/pkgconfig/ - $(SED) 's,-I$$$$includedir/freetype2,-I$(STAGING_DIR)/usr/include/freetype2,g' $(2)/bin/freetype-config - $(SED) 's,/usr/include/freetype2/,$(STAGING_DIR)/usr/include/freetype2/,g' $(2)/bin/freetype-config + + $(SED) \ + 's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",g' \ + $(2)/bin/freetype-config endef