From: Nicolas Thill Date: Thu, 4 Oct 2007 10:15:49 +0000 (+0000) Subject: freetype: tweak sed-ifications in freetype-config for version detection and in pkgcon... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=adcad22e07f831d267d7d49b41a29d56ee63f124;p=openwrt%2Fsvn-archive%2Fpackages.git freetype: tweak sed-ifications in freetype-config for version detection and in pkgconfig file SVN-Revision: 9117 --- diff --git a/libs/freetype/Makefile b/libs/freetype/Makefile index 6a7317fcd..929ba4ec9 100644 --- a/libs/freetype/Makefile +++ b/libs/freetype/Makefile @@ -59,9 +59,9 @@ define Build/InstallDev mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/freetype2.pc $(STAGING_DIR)/usr/lib/pkgconfig/ $(SED) 's,-I$$$$includedir/freetype2,-I$(STAGING_DIR)/usr/include/freetype2,g' $(STAGING_DIR)/usr/bin/freetype-config - $(SED) 's,-I$$$${includedir}/freetype2,-I$(STAGING_DIR)/usr/include/freetype2,g' $(STAGING_DIR)/usr/lib/pkgconfig/freetype2.pc - $(SED) 's,-I$$$${includedir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/freetype2.pc - $(SED) 's,-L$$$${libdir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/freetype2.pc + $(SED) 's,/usr/include/freetype2/,$(STAGING_DIR)/usr/include/freetype2/,g' $(STAGING_DIR)/usr/bin/freetype-config + $(SED) 's,^includedir=.*,includedir=$(STAGING_DIR)/usr/include,g' $(STAGING_DIR)/usr/lib/pkgconfig/freetype2.pc + $(SED) 's,^libdir=.*,libdir=$(STAGING_DIR)/usr/lib,g' $(STAGING_DIR)/usr/lib/pkgconfig/freetype2.pc endef define Build/UninstallDev