From 95563f47553996a3c6b162b35d39439f7e34418f Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 4 Oct 2007 10:15:49 +0000 Subject: [PATCH] [packages] freetype: tweak sed-ifications in freetype-config for version detection and in pkgconfig file git-svn-id: svn://svn.openwrt.org/openwrt/packages@9117 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/freetype/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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