aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2015-08-04 02:14:56 +0200
committerNicolas Thill <nico@openwrt.org>2015-08-04 02:14:56 +0200
commitd3d79c36eb1cfa0e9570508aa56b0598b8d6557c (patch)
tree0cb1fea410562f238b788729eeb3b6d67b7cf4b7
parent0ffa81ea9e12b53d8ae006f225802985071b3491 (diff)
parent26c9101b5485501b80a6e6b77ca0649822135305 (diff)
Merge branch 'freetype-config-include-path-fix' of git://github.com/paulfertser/packages into PR1591
-rw-r--r--libs/freetype/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/freetype/Makefile b/libs/freetype/Makefile
index feeab48bf..c96f92849 100644
--- 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' \