summaryrefslogtreecommitdiff
path: root/package/fontconfig
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-23 18:28:03 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-23 18:28:24 +0200
commit72b4ecd972cbade303cf7cf69986183a10feb118 (patch)
tree5bd4eec4af600aa631b0f523b9067855c8e60a4b /package/fontconfig
parent4340ac5371121ab2adb2dc53414c2348506cac73 (diff)
fix host compile of librsvg, required for midori
Diffstat (limited to 'package/fontconfig')
-rw-r--r--package/fontconfig/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/fontconfig/Makefile b/package/fontconfig/Makefile
index e76c543b7..79a3c793d 100644
--- a/package/fontconfig/Makefile
+++ b/package/fontconfig/Makefile
@@ -11,6 +11,7 @@ PKG_DESCR:= library for configuring and customizing font access
PKG_SECTION:= libs
PKG_DEPENDS:= libxml2
PKG_BUILDDEP:= freetype libxml2 libiconv-tiny
+HOST_BUILDDEP:= expat-host
PKG_URL:= http://fontconfig.org/
PKG_SITES:= http://fontconfig.org/release/
PKG_OPTS:= dev
@@ -21,10 +22,13 @@ ifeq ($(ADK_STATIC),y)
PKG_OPTS+= libonly
endif
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,FONTCONFIG,fontconfig,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,FONTCONFIG,fontconfig,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
TARGET_LDFLAGS+= -liconv
CONFIGURE_ARGS+= --with-arch=${ARCH} \
--enable-libxml2 \
@@ -35,4 +39,5 @@ fontconfig-install:
${CP} ${WRKINST}/usr/lib/libfontconfig.so* ${IDIR_FONTCONFIG}/usr/lib
$(CP) ${WRKINST}/etc/fonts/* ${IDIR_FONTCONFIG}/etc/fonts
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk