commit 81e4c788ad897fd88a1fde84472f3494ef415bf6
parent 0ffa81ea9e12b53d8ae006f225802985071b3491
Author: Nicolas Thill <nico@openwrt.org>
Date: Tue, 4 Aug 2015 02:15:40 +0200
Merge branch 'PR1591'
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libs/freetype/Makefile b/libs/freetype/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=freetype
PKG_VERSION:=2.5.5
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/freetype
@@ -64,7 +64,8 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/freetype2.pc $(1)/usr/lib/pkgconfig/
$(SED) \
- 's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",g' \
+ 's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",; \
+ s,^\(includedir\)=.*,\1="$(STAGING_DIR)/usr/include",' \
$(2)/bin/freetype-config
$(SED) \
's,/usr/include,$$$${prefix}/include,g' \