diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2013-06-13 10:00:23 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-06-13 15:15:12 +0200 |
commit | 11be54149cfca42226b51b7dc045e8da26b72cfe (patch) | |
tree | e8a86af17f55f734ab00c889dc629926bd5ad24c /package | |
parent | c3f42284904346ba991e87961cfeb4fdd6b98436 (diff) | |
download | buildroot-novena-11be54149cfca42226b51b7dc045e8da26b72cfe.tar.gz buildroot-novena-11be54149cfca42226b51b7dc045e8da26b72cfe.zip |
freetype: fixup config file
Fix freetype-config's includedir and libdir since they're expanded from
configure values since bumping to version 2.4.12
Fixes:
http://autobuild.buildroot.net/results/1c7/1c70ce0ff350623cc38baf4b8b61c8a7a8586aba/
...and many others.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/freetype/freetype.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 16f00fe64..177adf50a 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -18,5 +18,13 @@ FREETYPE_CONFIG_SCRIPTS = freetype-config HOST_FREETYPE_DEPENDENCIES = host-pkgconf +# Extra fixing since includedir and libdir are expanded from configure values +define FREETYPE_FIX_CONFIG_FILE + $(SED) 's:^includedir=.*:includedir="$${prefix}/include":' \ + -e 's:^libdir=.*:libdir="$${exec_prefix}/lib":' \ + $(STAGING_DIR)/usr/bin/freetype-config +endef +FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_CONFIG_FILE + $(eval $(autotools-package)) $(eval $(host-autotools-package)) |