summaryrefslogtreecommitdiff
path: root/package/font-util/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-20 21:14:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-20 21:14:22 +0200
commit7695ce447acb41050295fd205e14ba55c378cdd2 (patch)
tree08ae0b84457071688c45f72a49150c4807006c33 /package/font-util/Makefile
parent9cef6f4deb8f736d63bb41dc7e34793ad60db482 (diff)
parent19d35b947f30b2b3ac98ff039832ae46df7fee8c (diff)
Merge branch 'upstream'
Diffstat (limited to 'package/font-util/Makefile')
-rw-r--r--package/font-util/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/package/font-util/Makefile b/package/font-util/Makefile
index cdd1632b2..b3faf7f7e 100644
--- a/package/font-util/Makefile
+++ b/package/font-util/Makefile
@@ -16,7 +16,17 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FONT_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-post-install:
+# XXX: Push the mapping files to a place where we can find them
+# again when compiling the actual fonts. This is ugly as hell,
+# especially as all font packages still need patching to avoid
+# calling pkg-config (which we don't provide) in order to
+# automatically find the mappings.
+fonts-hack:
+ ${INSTALL_DIR} ${STAGING_DIR}/usr/share/fonts/X11/util
+ ${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
+ ${STAGING_DIR}/usr/share/fonts/X11/util
+
+post-install: fonts-hack
${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
${IDIR_FONT_UTIL}/usr/share/fonts/X11/util